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="../js/resources/js-test-pre.js"></script> |
5 <script src="../js/resources/image-preload-helper.js"></script> | 5 <script src="../js/resources/image-preload-helper.js"></script> |
6 <style type="text/css"> | 6 <style type="text/css"> |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <p id="description"></p> | 10 <p id="description"></p> |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 testRunner.dumpAsText(); | 82 testRunner.dumpAsText(); |
83 testRunner.waitUntilDone(); | 83 testRunner.waitUntilDone(); |
84 window.jsTestIsAsync = true; | 84 window.jsTestIsAsync = true; |
85 } | 85 } |
86 | 86 |
87 // Now wait for each image to load or fail to load before starting tests. | 87 // Now wait for each image to load or fail to load before starting tests. |
88 // Without this we can get null images in the cursors - eg. no known size. | 88 // Without this we can get null images in the cursors - eg. no known size. |
89 preloadImagesFromStyle(testContainer, 9, runTests, /(#greenbox|_FAIL)/); | 89 preloadImagesFromStyle(testContainer, 9, runTests, /(#greenbox|_FAIL)/); |
90 | 90 |
91 </script> | 91 </script> |
92 <script src="../../fast/js/resources/js-test-post.js"></script> | |
93 </body> | 92 </body> |
94 </html> | 93 </html> |
OLD | NEW |