Re: requestAnimationFrame rate for background tabs and offscreen instances

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout
Message-ID <[email protected]>
On 8/31/15 2:08 PM, Jet Villegas wrote:
> I believe we
> currently throttle to 1 FPS for off-screen and background tabs.

As Seth pointed out, that's not what we do.

> Should we go to zero as well?

The real question here is what should get throttled.  Just rAF?  Or 
everything we run off the refresh driver (rAF, SMIL animations, CSS 
transitions/animations, etc)?  The latter fire page-visible events that 
might well break pages if we turn them off completely, but I'm probably 
OK throttling them all off altogether as long as Chrome does the same 
thing (and we're sure they're doing it; e.g. they ship it).

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.