Closed
Bug 947856
Opened 12 years ago
Closed 12 years ago
Regression: Bug 855208 Removed the Check of Muting Background Content Channel by Video with Normal and in Foreground
Categories
(Firefox OS Graveyard :: AudioChannel, defect)
Tracking
(blocking-b2g:koi+, firefox27 wontfix, firefox28 fixed, firefox29 fixed, b2g-v1.2 fixed, b2g-v1.3 fixed)
People
(Reporter: mchen, Assigned: brsun)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
Bug 855208 introduced a regression of
A foreground video (ex: youtube) can't mute background content channel which is on playing.
The improved way of this is to add test case into testAudioChannelService.cpp
| Reporter | ||
Comment 1•12 years ago
|
||
Hi Steven,
The user impact of this is
When user watch the video via browser or youtube app, the background music will not be paused automatically.
This behavior is confirmed by Bug 894249.
blocking-b2g: --- → fugu?
| Assignee | ||
Comment 3•12 years ago
|
||
Reset mPlayableHiddenContentChildID as CONTENT_PROCESS_ID_UNKNOWN to mute any content channel in background if there is any normal channel with video in foreground.
Attachment #8345210 -
Flags: review?(mchen)
| Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8345210 [details] [diff] [review]
bug947856_background_content_and_foreground_normal.patch
The unit-test, TestOneVideoNormalChannelAndOneContentChannel(), does not run in main().
Attachment #8345210 -
Attachment is obsolete: true
Attachment #8345210 -
Flags: review?(mchen)
| Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Steven Yang [:styang] from comment #2)
> Will it impact v1.2 as well?
Yes, it is.
When user watch the video from youtube, the background music can't be paused automatically.
Flags: needinfo?(mchen)
| Assignee | ||
Comment 9•12 years ago
|
||
This patch is based on attachment 8345210 [details] [diff] [review]. Rename the test cast to a short one, and add the test cast into main() of the test program.
Attachment #8345788 -
Flags: review?(mchen)
| Reporter | ||
Comment 10•12 years ago
|
||
Comment on attachment 8345788 [details] [diff] [review]
bug947856_background_content_and_foreground_normal.v2.patch
Review of attachment 8345788 [details] [diff] [review]:
-----------------------------------------------------------------
It looks good to me. Thanks.
Attachment #8345788 -
Flags: review?(mchen) → review+
Updated•12 years ago
|
Keywords: regression
| Assignee | ||
Comment 12•12 years ago
|
||
TBPL seems good of attachment 8345788 [details] [diff] [review]: https://tbpl.mozilla.org/?tree=Try&rev=cb66544698c2
| Assignee | ||
Comment 13•12 years ago
|
||
Ready for check-in. Add reviewer information in the commit log.
Attachment #8345788 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 14•12 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Comment 15•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 16•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/17141bcf340a
In my queue for b2g26 once it reopens.
status-b2g-v1.2:
--- → affected
status-b2g-v1.3:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Target Milestone: --- → 1.3 C1/1.4 S1(20dec)
Comment 17•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•