Closed Bug 1137869 Opened 10 years ago Closed 9 years ago

Ensure minimal resource consumption by invisible Shumway instances

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: till, Unassigned)

References

Details

This has two components: 1. using the visibility API (or some other mechanism), detect that a Shumway instance isn't visible; either because it's in a non-active tab or because it's outside the viewport. For these instances, stop the main event loop and don't call rAF. 2. Under the same circumstances as above, but perhaps after a certain delay, tear down the output canvas. We can re-create that when the SWF becomes visible again.
No longer blocks: shumway-m4
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.