Closed
Bug 1184058
Opened 9 years ago
Closed 9 years ago
AudioChannelAgent should be muted when used without a proper window object.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla43
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file)
2.91 KB,
patch
|
alwu
:
review+
|
Details | Diff | Splinter Review |
Currently we have some AudioChannelAgents initialized with a null window. These should be muted by default or crash.
Assignee | ||
Comment 1•9 years ago
|
||
This patch will help to detect where we have AudioChannelAgents with a null window.
Attachment #8634022 -
Flags: review?(alwu)
Comment 2•9 years ago
|
||
Comment on attachment 8634022 [details] [diff] [review] detect.patch Review of attachment 8634022 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, Thanks!
Attachment #8634022 -
Flags: review?(alwu) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Alwu, any news to remove the AudioChannelAgent with null window in telephony and AudioManager?
Flags: needinfo?(alwu)
Comment 4•9 years ago
|
||
Before landing this issue, we should remove the null window telephony/ringtone agent in AudioManage.cpp. (1) Remove telephony agent - bug1129882 We only need to wait for the this bug, and it should be landed after your review :) But if we want to manage the telephony correctly, it will be done after bug1185442. (2) Remove ringtone agent - bug1185442 Now I am waiting for the feedback from Gabriele. We plan to playback a silent ringtone when there is incoming call during the vibration mode. If we can do it in Gaia, I can remove the codes in Gecko.
Flags: needinfo?(alwu)
Comment 5•9 years ago
|
||
Sorry, correct the comment4. Removing ringtone agent would be implemented in this bug, bug1184482.
Comment 8•9 years ago
|
||
Hi, Baku, Maybe we still need to postpone landing this issue, see bug1193840 comment7.
Assignee | ||
Comment 9•9 years ago
|
||
ok. Can you set a dependence so that when that is landed we can land this patch too? Thanks.
Flags: needinfo?(alwu)
Comment 11•9 years ago
|
||
Ok, all null agents have been removed. Although the bug1129882 is opened again, I think it doesn't affect this bug. Sorry for the delay.
Flags: needinfo?(alwu)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → amarchesini
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0708602ea554dddb31bdbf172596fc2e29ca832e Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu
Comment 13•9 years ago
|
||
This patch has d2 bustages like this https://treeherder.mozilla.org/logviewer.html#?job_id=13360819&repo=mozilla-inbound. Going to back it out.
Comment 14•9 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/f4f537fe2647
Assignee | ||
Comment 15•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=65f828feb692
Assignee | ||
Comment 16•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=083c40084730
Assignee | ||
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ddc08e87843f8578adb0ba42887f66044358d563 Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu
Comment 18•9 years ago
|
||
Backed out for AudioChannelAgent crashes/asserts. https://treeherder.mozilla.org/logviewer.html#?job_id=13554814&repo=mozilla-inbound https://treeherder.mozilla.org/logviewer.html#?job_id=13556810&repo=mozilla-inbound https://hg.mozilla.org/integration/mozilla-inbound/rev/499f911151a0
Comment 20•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7cf7a64736ee
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•