We do eventually throttle rAF to zero for background tabs, IIRC (there’s an 
exponential decay phase first). IIRC, we mainly didn’t do it for offscreen 
iframes in foreground tabs because of concerns that there could be interaction 
between different iframes, so throttling an offscreen iframe totally off could 
also end up disabling a visible iframe. Till might remember more specifics.

I’d like to go to zero as well if we think we can get away with it. If Blink is 
*committed* to doing it too, then we probably can.

- Seth

> On Aug 31, 2015, at 11:08 AM, Jet Villegas <[email protected]> wrote:
> 
> I met with some Chromium engineers over dinner last week and talked about how 
> Blink throttles rAF on background tabs to zero FPS, and that they're also 
> working on setting off-screen iframes to zero FPS. I believe we currently 
> throttle to 1 FPS for off-screen and background tabs. 
> 
> Should we go to zero as well? 
> 
> --Jet

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to