| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/compatibility.js"></script> | 4 <script src="resources/compatibility.js"></script> |
| 5 <script src="resources/audio-testing.js"></script> | 5 <script src="resources/audio-testing.js"></script> |
| 6 <script src="../resources/js-test.js"></script> | 6 <script src="../resources/js-test.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <script> | 9 <script> |
| 10 description("Tests that ScriptProcessorNode event dispatch doesn't fail when det
ached from document."); | 10 description("Tests that ScriptProcessorNode event dispatch doesn't fail when det
ached from document."); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 finishJSTest(); | 47 finishJSTest(); |
| 48 } | 48 } |
| 49 } | 49 } |
| 50 | 50 |
| 51 if (window.testRunner) { | 51 if (window.testRunner) { |
| 52 testRunner.dumpAsText(); | 52 testRunner.dumpAsText(); |
| 53 testRunner.waitUntilDone(); | 53 testRunner.waitUntilDone(); |
| 54 testRunner.setCanOpenWindows(); | 54 testRunner.setCanOpenWindows(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 w = window.open('resources/scriptprocessornode-detached-no-crash-new-window.html
'); | 57 w = window.open('../resources/window-postmessage-open-close.html'); |
| 58 window.addEventListener("message", processMessage, false); | 58 window.addEventListener("message", processMessage, false); |
| 59 </script> | 59 </script> |
| 60 </body> | 60 </body> |
| 61 </html> | 61 </html> |
| OLD | NEW |