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 OfflineAudioContext, pass if no cras
h."); | 11 description("Tests document-detached use of OfflineAudioContext, pass if no cras
h."); |
12 | 12 |
13 window.jsTestIsAsync = true; | 13 window.jsTestIsAsync = true; |
14 | 14 |
15 function errorCallback(error) | 15 function errorCallback(error) |
16 { | 16 { |
17 testPassed("OfflineAudioContext.startRendering() on a closed context threw a
n exception."); | 17 testPassed("OfflineAudioContext.startRendering() on a closed context threw a
n exception."); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 setTimeout(runTest, 100); | 55 setTimeout(runTest, 100); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 if (window.testRunner) { | 59 if (window.testRunner) { |
60 testRunner.dumpAsText(); | 60 testRunner.dumpAsText(); |
61 testRunner.waitUntilDone(); | 61 testRunner.waitUntilDone(); |
62 testRunner.setCanOpenWindows(); | 62 testRunner.setCanOpenWindows(); |
63 } | 63 } |
64 | 64 |
65 w = window.open('../resources/window-postmessage-open-close.html'); | 65 w = window.open('../../resources/window-postmessage-open-close.html'); |
66 window.addEventListener("message", processMessage, false); | 66 window.addEventListener("message", processMessage, false); |
67 </script> | 67 </script> |
68 </body> | 68 </body> |
69 </html> | 69 </html> |
OLD | NEW |