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