| 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> | 5 <script> |
| 6 window.jsTestIsAsync = true; | 6 window.jsTestIsAsync = true; |
| 7 window.scheduledImportCount = 0; | 7 window.scheduledImportCount = 0; |
| 8 | 8 |
| 9 description("This ensures that load and error events are fired on sub-imports.")
; | 9 description("This ensures that load and error events are fired on sub-imports.")
; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 | 25 |
| 26 window.scheduledImportCount--; | 26 window.scheduledImportCount--; |
| 27 if (!window.scheduledImportCount) | 27 if (!window.scheduledImportCount) |
| 28 finishJSTest(); | 28 finishJSTest(); |
| 29 } | 29 } |
| 30 </script> | 30 </script> |
| 31 <link id="root" rel="import" href="resources/onload-root.html"> | 31 <link id="root" rel="import" href="resources/onload-root.html"> |
| 32 </head> | 32 </head> |
| 33 <body> | 33 <body> |
| 34 <script src="../../js/resources/js-test-post.js"></script> | |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| OLD | NEW |