OLD | NEW |
| (Empty) |
1 Bug 98474: Throttle DOM timers on hidden pages and bug 400343 prerender pages. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS timerIntervalWhilePageVisible is within 20 of 100 | |
7 PASS firstTimerIntervalWhilePageNotVisible is >= 80 | |
8 PASS firstTimerIntervalWhilePageNotVisible <= 1120 is true | |
9 PASS timerIntervalWhilePageNotVisible is within 20 of 1000 | |
10 PASS timerIntervalWhilePageVisible is within 20 of 100 | |
11 PASS timerIntervalWhilePageVisible is within 20 of 100 | |
12 PASS firstTimerIntervalWhilePageNotVisible is >= 80 | |
13 PASS firstTimerIntervalWhilePageNotVisible <= 1120 is true | |
14 PASS timerIntervalWhilePageNotVisible is within 20 of 1000 | |
15 PASS timerIntervalWhilePageVisible is within 20 of 100 | |
16 PASS successfullyParsed is true | |
17 | |
18 TEST COMPLETE | |
19 This test measures the time taken to fire a 100ms DOM Timer when the page visibi
lity is set to "visible", "hidden", "visible", "prerender" and then back to "vis
ible". Due to page timer throttling, the timer should fire close to 1s when page
is hidden or prerender. And it should fire close to 100ms, when the page is vis
ible. | |
OLD | NEW |