OLD | NEW |
1 description("Tests the timestamps provided to prefixed webkitRequestAnimationFra
me callbacks"); | 1 description("Tests the timestamps provided to prefixed webkitRequestAnimationFra
me callbacks"); |
2 | 2 |
3 var firstTimestamp = undefined; | 3 var firstTimestamp = undefined; |
4 var secondTimestamp = undefined; | 4 var secondTimestamp = undefined; |
5 var legacyFirstTimestamp = undefined; | 5 var legacyFirstTimestamp = undefined; |
6 var legacySecondTimestamp = undefined; | 6 var legacySecondTimestamp = undefined; |
7 var deltaError = undefined; | 7 var deltaError = undefined; |
8 | 8 |
9 function busyWait(millis) { | 9 function busyWait(millis) { |
10 var start = Date.now(); | 10 var start = Date.now(); |
(...skipping 26 matching lines...) Expand all Loading... |
37 testRunner.display(); | 37 testRunner.display(); |
38 }); | 38 }); |
39 | 39 |
40 if (window.testRunner) | 40 if (window.testRunner) |
41 window.setTimeout(function() { | 41 window.setTimeout(function() { |
42 testRunner.display(); | 42 testRunner.display(); |
43 }); | 43 }); |
44 | 44 |
45 if (window.testRunner) | 45 if (window.testRunner) |
46 testRunner.waitUntilDone(); | 46 testRunner.waitUntilDone(); |
OLD | NEW |