MP3 file playbacks in the background even if the page is closed
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
People
(Reporter: csasca, Assigned: smaug)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
Affected versions
- Firefox 92.0b8 msix
- Firefox 93.0a1 msix
Affected platforms
- Windows 11
Steps to reproduce
- Launch Firefox
- Access this page
- Click on Download for any MP3 file
- The file autoplays in a new page
- Click on "Go Back" from the toolbar to get to the page from step 2
Expected result
- The file stops playing
Actual result
- The file still plays in the background and the only way to stop it is to close the tab
Regression range
- Will see for a regression
Additional notes
- The issue can be seen in the attachment.
- Sometimes the playback will stop but when going forward to the "next page" again, the song will continue where it stopped and won't reset itself to 0:00.
- There are times when starting Firefox with the same profile and if accessing the page from step 2, the song will automatically start playing randomly.
- I wasn't able to reproduce the initial issue on normal builds, only the behavior from the second additional note.
Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
•
|
||
I can reproduce the issue in Nightly93.0a1 Windows10 if Fission is enabled.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ab936b7f0c9f9e0b27e42e3f7909131bface08b9&tochange=7d32671931b7c2f5cb24b0f4d62bb6884e484175
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Doesn't seem to relate to MSIX.
Assignee | ||
Comment 3•3 years ago
|
||
SetContainer handling is similar to what DocumentViewer does for the old bfcache implementation.
(The old implementation hides it quite well).
The changes to HTMLMediaElement are needed to ensure page can enter bfcache.
Comment 5•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Backed out for causing frequent crashes
Comment 8•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Reproduced the issue with Firefox 93.0a1 (20210825214919) on Windows 10x64 while having fission.autostart:true
.
Verified fixed with Firefox 94.0b9 on Windows 10x64, 11x64, macOS 11.6, and Ubuntu 21.04. The song is no longer playing if fission.autostart:true
and following STR from comment 0.
Description
•