Closed
Bug 830672
Opened 12 years ago
Closed 12 years ago
Follow up 828200 - the audio-channel-changed should follow comment 6 from bug 828200
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file, 2 obsolete files)
9.58 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → amarchesini
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #702193 -
Flags: review?(mchen)
Comment 2•12 years ago
|
||
Comment on attachment 702193 [details] [diff] [review]
patch
Review of attachment 702193 [details] [diff] [review]:
-----------------------------------------------------------------
The logic for finding higher audio channel type is good.
And please correct the right comments for unit test.
Thanks.
::: dom/audiochannel/tests/TestAudioChannelService.cpp
@@ +282,5 @@
> + // Settings visible the normal channel.
> + rv = normalAgent.mAgent->SetVisibilityState(true);
> + NS_ENSURE_SUCCESS(rv, rv);
> +
> + // Normal should not be playing because not visible.
// Normal should be playing because it is visible.
And the following comments for each channels are wrong too.
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #702193 -
Attachment is obsolete: true
Attachment #702193 -
Flags: review?(mchen)
Attachment #702212 -
Flags: review?(mchen)
Comment 4•12 years ago
|
||
Comment on attachment 702212 [details] [diff] [review]
patch
Review of attachment 702212 [details] [diff] [review]:
-----------------------------------------------------------------
Review+ after fixing the wrong comment.
Thanks.
::: dom/audiochannel/tests/TestAudioChannelService.cpp
@@ +336,5 @@
> + // Settings visible the pNotification channel.
> + rv = pNotificationAgent.mAgent->SetVisibilityState(true);
> + NS_ENSURE_SUCCESS(rv, rv);
> +
> + // pNotification should not be playing because not visible.
// pNotification should be playing because visible.
Attachment #702212 -
Flags: review?(mchen) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #702212 -
Attachment is obsolete: true
Attachment #702781 -
Flags: review+
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Assignee | ||
Updated•12 years ago
|
blocking-b2g: --- → tef?
Assignee | ||
Comment 8•12 years ago
|
||
tef+ because bug 828283 needs this patch. AudioChannelService is used in b2g only so this patch should land on b2g18 too.
Comment 9•12 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #8)
> tef+ because bug 828283 needs this patch. AudioChannelService is used in b2g
> only so this patch should land on b2g18 too.
Can you explain why this is a requirement for bug 828283?
Assignee | ||
Comment 10•12 years ago
|
||
The patch for bug 828283 is based on the visibility of the media elements. In this patch we implement a visibility enum for each audio channel type.
Without this patch the visible-audio-channel-changed event will be emitted wrongly.
Updated•12 years ago
|
blocking-b2g: tef? → tef+
Summary: Follow up 828200 - the audio-channel-changed should follow comment 6 → Follow up 828200 - the audio-channel-changed should follow comment 6 from bug 828200
Comment 11•12 years ago
|
||
status-b2g18:
--- → fixed
status-firefox19:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Comment 12•12 years ago
|
||
Backed out for test failures in bug 829561, which this depends on:
https://hg.mozilla.org/releases/mozilla-b2g18/rev/d139dca8c3b4
Assignee | ||
Comment 13•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/c99fb2843bdc
Patch for 830648 was not landed yet. Pushed again to b2g18.
Comment 14•12 years ago
|
||
Landed on mozilla-b2g18/gaia master prior to the 1/25 branching to mozilla-b2g18_v1_0_0/v1.0.0, updating status-b2g-v1.0.0 to fixed.
status-b2g18-v1.0.0:
--- → fixed
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•