[Webkit-unassigned] [Bug 100257] Don't fire requestAnimationFrame for scripts in frames that are out of view
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 24 09:01:44 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100257
--- Comment #2 from Nick Johnson <nick at spider.io> 2012-10-24 09:02:50 PST ---
When a frame is out of view (such as an iframe that's scrolled offscreen), WebKit shouldn't fire requestAnimationFrame callbacks.
Avoiding these unnecessary callbacks reduces CPU consumption, and thus, battery consumption on mobile devices.
The attached patch implements that optimisation.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list