Closed Bug 1733087 Opened 3 years ago Closed 3 years ago

Don't unload tabs that are playing audible audio content

Categories

(Firefox :: Tabbed Browser, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1733002

People

(Reporter: padenot, Unassigned)

References

Details

Similarly to 1733002, tabs that are playing audible audio content cannot be discarded, and there must be a fairly long (low two digits number of seconds) before considering the tab as unloadable.

It's fairly common for websites to implement playing an album as having one <audio> per track, and starting playing from the "ended" handler of the previous <audio>.

Additionally, this need to function on an audibility basis (which is computed in Gecko already, and readily available for all audio-producing objects), not based on the playback state.

This wasn't the case on Android twice (in the Fennec days, and then after for Fenix, I had to fix it twice), and each time there were lots of users annoyed by this behaviour.

Blocks: 1587762

[Tracking Requested - why for this release]:
Per :padenot, this has been an issue in the past. Unloading audio tabs might be a problem on release that we have to issue a dot release fix for.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

The patch of bug 1733002 covers this scenario.

You need to log in before you can comment on or make changes to this bug.