OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <iframe src="script-tests/request-animation-frame-subframe.html" width="700"
height="500"></iframe> | 7 <iframe src="script-tests/request-animation-frame-subframe.html" width="700"
height="500"></iframe> |
8 <script type="text/javascript" charset="utf-8"> | 8 <script type="text/javascript" charset="utf-8"> |
9 description("Tests requestAnimationFrame in both an iframe and main fram
e"); | 9 description("Tests requestAnimationFrame in both an iframe and main fram
e"); |
10 | 10 |
11 var callbackInvoked = false; | 11 var callbackInvoked = false; |
12 var mainFrameCallbackInvoked = false; | 12 var mainFrameCallbackInvoked = false; |
13 | 13 |
14 if (window.testRunner) { | 14 if (window.testRunner) { |
(...skipping 13 matching lines...) Expand all Loading... |
28 | 28 |
29 function doTestDone() | 29 function doTestDone() |
30 { | 30 { |
31 isSuccessfullyParsed(); | 31 isSuccessfullyParsed(); |
32 if (window.testRunner) | 32 if (window.testRunner) |
33 testRunner.notifyDone(); | 33 testRunner.notifyDone(); |
34 } | 34 } |
35 </script> | 35 </script> |
36 </body> | 36 </body> |
37 </html> | 37 </html> |
OLD | NEW |