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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/scriptprocessornode-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 AudioContext, pass if no crash."); 10 description("Tests document-detached use of AudioContext, pass if no crash.");
11 11
12 window.jsTestIsAsync = true; 12 window.jsTestIsAsync = true;
13 13
14 var sampleRate = 44100.0; 14 var sampleRate = 44100.0;
15 var renderLengthInFrames = 512; 15 var renderLengthInFrames = 512;
16 var bufferSize = 512; 16 var bufferSize = 512;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 testRunner.dumpAsText(); 49 testRunner.dumpAsText();
50 testRunner.waitUntilDone(); 50 testRunner.waitUntilDone();
51 testRunner.setCanOpenWindows(); 51 testRunner.setCanOpenWindows();
52 } 52 }
53 53
54 w = window.open('../resources/window-postmessage-open-close.html'); 54 w = window.open('../resources/window-postmessage-open-close.html');
55 window.addEventListener("message", processMessage, false); 55 window.addEventListener("message", processMessage, false);
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698