Throttle RequestAnimationFrame in subframes that are outside the viewport
[WebKit-https.git] / LayoutTests / fast / animation / request-animation-frame-throttle-subframe-expected.txt
1 Tests that requestAnimationFrame is throttled in subframes that are outside the viewport
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Frame is initially outside the viewport so requestAnimationFrame should be throttled
7 PASS testFrame.contentWindow.internals.isRequestAnimationFrameThrottled() became true
8 PASS internals.isRequestAnimationFrameThrottled() is false
9 PASS testFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is true
10 PASS grandChildFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is true
11 Scrolling frame into view.
12 RequestAnimationFrame should no longer be throttled
13 PASS internals.isRequestAnimationFrameThrottled() is false
14 PASS grandChildFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is false
15 PASS testFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is false
16 Scrolling frame out of view again.
17 PASS internals.isRequestAnimationFrameThrottled() is false
18 PASS testFrame.contentWindow.internals.isRequestAnimationFrameThrottled() became true
19 PASS testFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is true
20 PASS grandChildFrame.contentWindow.internals.isRequestAnimationFrameThrottled() is true
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24