Hi all, Bug 1145439 has landed, which means that we now throttle requestAnimationFrame for offscreen iframes.
This should give us significant benefits in terms of CPU and energy usage for pages with iframes that do animation - think HTML5 ads. One test, on areweflashyet.com, showed a 50% improvement in CPU usage for both the content and chrome processes when the iframe is scrolled offscreen, compared to the same situation without throttling. This behavior is allowed by the spec, but of course spec compatibility and web compatibility are two different things. (Not to mention there could be bugs!) If you notice any odd behavior that could be a result of this change, please file it and block bug 1145439. Thanks! - Seth _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform