Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-detached-no-crash.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698