[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
Mon Oct 29 06:52:31 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100257





--- Comment #4 from Dean Jackson <dino at apple.com>  2012-10-29 06:53:47 PST ---
(From update of attachment 170408)
View in context: https://bugs.webkit.org/attachment.cgi?id=170408&action=review

This looks ok to me, but I'm not sure why some older tests are failing.

> LayoutTests/ChangeLog:12
> +    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.

Needs more indentation.

-- 
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