Chromium Code Reviews
DescriptionDisallow throttling while running requestAnimationFrame callbacks
If a requestAnimationFrame callback tries to do a synchronous style
computation in another frame which is currently throttled, this fails
because throttling is allowed for the entire BeginMainFrame, which
includes running rAF callbacks as a substep.
This patch fixes the issue by disallowing throttling while executing rAF
callbacks. Note that rAF callbacks for throttled frames are still
skipped.
BUG=607336
Committed: https://crrev.com/afdf51c967149db6bd8d6a533886efc957435e18
Cr-Commit-Position: refs/heads/master@{#395054}
Patch Set 1 #Patch Set 2 : Add tests #
Total comments: 2
Patch Set 3 : Simplify test #
Total comments: 2
Patch Set 4 : Another simplification #
Messages
Total messages: 16 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||