| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="../resources/compatibility.js"></script> | |
| 6 <script src="../resources/audit-util.js"></script> | 5 <script src="../resources/audit-util.js"></script> |
| 7 <script src="../resources/audio-testing.js"></script> | 6 <script src="../resources/audio-testing.js"></script> |
| 8 </head> | 7 </head> |
| 9 <body> | 8 <body> |
| 10 <script> | 9 <script> |
| 11 description("Tests document-detached use of AudioContext, pass if no crash."); | 10 description("Tests document-detached use of AudioContext, pass if no crash."); |
| 12 | 11 |
| 13 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
| 14 | 13 |
| 15 var sampleRate = 44100.0; | 14 var sampleRate = 44100.0; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 testRunner.dumpAsText(); | 49 testRunner.dumpAsText(); |
| 51 testRunner.waitUntilDone(); | 50 testRunner.waitUntilDone(); |
| 52 testRunner.setCanOpenWindows(); | 51 testRunner.setCanOpenWindows(); |
| 53 } | 52 } |
| 54 | 53 |
| 55 w = window.open('../../resources/window-postmessage-open-close.html'); | 54 w = window.open('../../resources/window-postmessage-open-close.html'); |
| 56 window.addEventListener("message", processMessage, false); | 55 window.addEventListener("message", processMessage, false); |
| 57 </script> | 56 </script> |
| 58 </body> | 57 </body> |
| 59 </html> | 58 </html> |
| OLD | NEW |