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 <script> | 7 <script> |
8 window.requestAnimationFrame(function() { | 8 window.requestAnimationFrame(function() { |
9 parent.callbackInvoked = true; | 9 parent.callbackInvoked = true; |
10 }); | 10 }); |
11 | 11 |
12 window.requestAnimationFrame(function() { | 12 window.requestAnimationFrame(function() { |
13 parent.doCheckResult(); | 13 parent.doCheckResult(); |
14 }); | 14 }); |
15 | 15 |
16 window.requestAnimationFrame(function() { | 16 window.requestAnimationFrame(function() { |
17 parent.doTestDone(); | 17 parent.doTestDone(); |
18 }); | 18 }); |
19 </script> | 19 </script> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |