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