| OLD | NEW |
| 1 /* | 1 /* |
| 2 Distributed under both the W3C Test Suite License [1] and the W3C | 2 Distributed under both the W3C Test Suite License [1] and the W3C |
| 3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the | 3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
| 4 policies and contribution forms [3]. | 4 policies and contribution forms [3]. |
| 5 | 5 |
| 6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license | 6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
| 7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license | 7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
| 8 [3] http://www.w3.org/2004/10/27-testcases | 8 [3] http://www.w3.org/2004/10/27-testcases |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 function handleFrame() { | 130 function handleFrame() { |
| 131 if (--frameCount <= 0) { | 131 if (--frameCount <= 0) { |
| 132 resolve(); | 132 resolve(); |
| 133 } else { | 133 } else { |
| 134 window.requestAnimationFrame(handleFrame); // wait another frame | 134 window.requestAnimationFrame(handleFrame); // wait another frame |
| 135 } | 135 } |
| 136 } | 136 } |
| 137 window.requestAnimationFrame(handleFrame); | 137 window.requestAnimationFrame(handleFrame); |
| 138 }); | 138 }); |
| 139 } | 139 } |
| OLD | NEW |