Closed Bug 1603878 Opened 3 months ago Closed 2 months ago

only update media action to content process when we have controlled media.

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently all existing media controllers are all ensured having controlled media, but in the future I'm going to add controllers without controlled media, but only have media session data.

Therefore, this bug is used to prevent sending media action to the content process for those controllers have media session only (which are non-active media session, so we are not supposed to trigger their action handler as well)

If we don't have any controlled media in content process, then we have no need to send the media action to the content process to control media.

Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11a12df9df3e
only update media action to content process when we have controlled media. r=chunmin
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.