Closed
Bug 1190023
Opened 9 years ago
Closed 9 years ago
Tab sound icon shows on pages with <video muted>
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
VERIFIED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox41 | --- | unaffected |
firefox42 | --- | verified |
People
(Reporter: reuben, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file, 1 obsolete file)
STR: 1) Open a tab with a <video muted>, like this one: http://i.imgur.com/96apNsd.gifv Result: Sound icon shows up. Expected results: No sound icon.
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
No longer blocks: tab-sound-indicator
status-firefox42:
affected → ---
Assignee | ||
Comment 2•9 years ago
|
||
While this is fixed by bug 1190040, I would like to have a separate test for it.
Blocks: tab-sound-indicator
Status: RESOLVED → REOPENED
Depends on: 1190040
Resolution: DUPLICATE → ---
Assignee | ||
Updated•9 years ago
|
Component: Tabbed Browser → Audio/Video: Playback
Product: Firefox → Core
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8642040 -
Flags: review?(amarchesini)
Updated•9 years ago
|
Assignee: nobody → ehsan
Status: REOPENED → ASSIGNED
Updated•9 years ago
|
Comment 4•9 years ago
|
||
Does your patch also fix the problem for media muted using the context menu?
Assignee | ||
Updated•9 years ago
|
Attachment #8642040 -
Flags: review?(amarchesini) → review?(bugs)
Assignee | ||
Updated•9 years ago
|
Attachment #8642040 -
Flags: review?(bugs) → review?(cpearce)
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Jesse Ruderman from comment #4) > Does your patch also fix the problem for media muted using the context menu? No, I filed that as bug 1190924.
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8642040 [details] [diff] [review] Add a test to ensure that muted media elements do not dispatch media-playback This test is buggy since it doesn't wait for the loadedmetadata event, and therefore we have no audio track, and it passes because of the HasAudio() check...
Attachment #8642040 -
Attachment is obsolete: true
Attachment #8642040 -
Flags: review?(cpearce)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8643289 -
Flags: review?(cpearce)
Comment 9•9 years ago
|
||
Comment on attachment 8643289 [details] [diff] [review] Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio Review of attachment 8643289 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/html/HTMLMediaElement.cpp @@ +4467,5 @@ > return; > } > > bool playingThroughTheAudioChannel = > + (!mPaused && !Muted() && What about if something sets the volume to 0? Do you want to not display the "playing audio" indicator then? If so you could check Volume() != 0 (possibly fuzzily; it's a float), and call UpdateAudioChannelPlayingState() in SetVolumeInternal().
Attachment #8643289 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 10•9 years ago
|
||
That is a good idea, I'll do that.
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a0e2077727c9
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Comment 13•9 years ago
|
||
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.9.5 using Aurora 42.0a2 (buildID: 20150813124640).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•