Virtual media controls does not get clear when iframe is removed
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: islandofcalmness, Assigned: alwu)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Go to https://indivisible.github.io/firefox-media-controls-stay-bug-sample/
- Click play on the youtube embed
- Click the "remove" button under it
Actual results:
The registered MPRIS controls do not disappear after the playing media is removed from the DOM.
Expected results:
The registered controls should disappear when the media is removed from the document.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Alastor, this sounds like a Linux media control service related issue. Do you know who would be a good candidate to ask for help? Thanks a lot.
Reporter | ||
Comment 3•2 years ago
|
||
(In reply to John Lin [:jhlin][:jolin] from comment #2)
Alastor, this sounds like a Linux media control service related issue. Do you know who would be a good candidate to ask for help? Thanks a lot.
For what it's worth, I was also able to reproduce the bug on windows 10: there the OSD media controls (that pop up on volume changes for example) are bugged the same way.
Assignee | ||
Comment 4•2 years ago
|
||
When an iframe gets removed, we should suppose to notify chrome process to remove this destroyed media session in order to clean up the virtual control interface. But it seems that that step was being called too late and IPC was already shutdowned. Therefore, we can't update that information back to the chrome process.
Description
•