| Test that requestAnimationFrame gets the right throttling in an iframe when inserted into a document. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS internals.requestAnimationFrameThrottlingReasons() is "[Unthrottled]" |
| PASS internals.requestAnimationFrameInterval is 0.015 |
| PASS frame.contentWindow.internals.requestAnimationFrameThrottlingReasons() is "[Unthrottled]" |
| PASS frame.contentWindow.internals.requestAnimationFrameInterval is 0.015 |
| internals.setLowPowerModeEnabled(true); |
| PASS internals.requestAnimationFrameThrottlingReasons() is "LowPowerMode" |
| PASS internals.requestAnimationFrameInterval is 0.030 |
| PASS frame.contentWindow.internals.requestAnimationFrameThrottlingReasons() is "LowPowerMode" |
| PASS frame.contentWindow.internals.requestAnimationFrameInterval is 0.030 |
| frame.remove() |
| document.body.appendChild(frame) |
| PASS internals.requestAnimationFrameThrottlingReasons() is "LowPowerMode" |
| PASS internals.requestAnimationFrameInterval is 0.030 |
| PASS frame.contentWindow.internals.requestAnimationFrameThrottlingReasons() is "LowPowerMode" |
| PASS frame.contentWindow.internals.requestAnimationFrameInterval is 0.030 |
| frame.remove() |
| internals.setLowPowerModeEnabled(false); |
| PASS internals.requestAnimationFrameThrottlingReasons() is "[Unthrottled]" |
| PASS internals.requestAnimationFrameInterval is 0.015 |
| document.body.appendChild(frame) |
| PASS frame.contentWindow.internals.requestAnimationFrameThrottlingReasons() is "[Unthrottled]" |
| PASS frame.contentWindow.internals.requestAnimationFrameInterval is 0.015 |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |