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