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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox42 --- affected
firefox43 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

Attachments

(1 file)

Currently we have some AudioChannelAgents initialized with a null window. These should be muted by default or crash.
Attached patch detect.patch (deleted) — Splinter Review
This patch will help to detect where we have AudioChannelAgents with a null window.
Attachment #8634022 - Flags: review?(alwu)
Comment on attachment 8634022 [details] [diff] [review] detect.patch Review of attachment 8634022 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, Thanks!
Attachment #8634022 - Flags: review?(alwu) → review+
Depends on: 1184482
Depends on: 1129882
Alwu, any news to remove the AudioChannelAgent with null window in telephony and AudioManager?
Flags: needinfo?(alwu)
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)
Sorry, correct the comment4. Removing ringtone agent would be implemented in this bug, bug1184482.
Depends on: 1187195
alwu, can we land this patch?
Flags: needinfo?(alwu)
Yes :)
Flags: needinfo?(alwu)
Hi, Baku, Maybe we still need to postpone landing this issue, see bug1193840 comment7.
ok. Can you set a dependence so that when that is landed we can land this patch too? Thanks.
Flags: needinfo?(alwu)
Depends on: 1185442
Flags: needinfo?(alwu)
Shall we try to land the patch?
Flags: needinfo?(alwu)
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: nobody → amarchesini
https://hg.mozilla.org/integration/mozilla-inbound/rev/0708602ea554dddb31bdbf172596fc2e29ca832e Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu
This patch has d2 bustages like this https://treeherder.mozilla.org/logviewer.html#?job_id=13360819&repo=mozilla-inbound. Going to back it out.
https://hg.mozilla.org/integration/mozilla-inbound/rev/ddc08e87843f8578adb0ba42887f66044358d563 Bug 1184058 - AudioChannelAgent should be muted when used without a proper window object, r=alwu
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Depends on: 1201133
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: