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

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

Issue 2212023002: Modifying audio-testing.js to support testharness.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing js-test.js loading order Created 4 years, 4 months 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/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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698