Open Bug 1394447 Opened 8 years ago Updated 2 years ago

Throttling `requestAnimationFrame` in background tab breaks pages that use it for scheduling

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox57 --- affected

People

(Reporter: padenot, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Attached file test-case
We need to treat the page as in the background if it's playing audio. This bug breaks all pages that use web audio, do some kind of visualization, and schedule the web audio code using `requestAnimationFrame`.
Attachment #8901862 - Attachment mime type: text/plain → text/html
Chrome simply does not call `requestAnimationFrame`, so it outputs silence here (in this very example).
In other words, Chrome has the behavior we would have if we fixed bug 1352205. Which we should probably do.
Depends on: 1352205
Priority: -- → P3
Severity: normal → S3
Regressed by: 1352205
No longer regressed by: 1352205
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: