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