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