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

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

Issue 2567713002: Separating layout test utilities into audit-util.js (Closed)
Patch Set: 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/audio-testing.js"></script> 7 <script src="resources/audio-testing.js"></script>
7 </head> 8 </head>
8 <body> 9 <body>
9 <script> 10 <script>
10 description("Tests document-detached use of AudioContext, pass if no crash."); 11 description("Tests document-detached use of AudioContext, pass if no crash.");
11 12
12 window.jsTestIsAsync = true; 13 window.jsTestIsAsync = true;
13 14
14 var sampleRate = 44100.0; 15 var sampleRate = 44100.0;
15 var renderLengthInFrames = 512; 16 var renderLengthInFrames = 512;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 testRunner.dumpAsText(); 50 testRunner.dumpAsText();
50 testRunner.waitUntilDone(); 51 testRunner.waitUntilDone();
51 testRunner.setCanOpenWindows(); 52 testRunner.setCanOpenWindows();
52 } 53 }
53 54
54 w = window.open('../resources/window-postmessage-open-close.html'); 55 w = window.open('../resources/window-postmessage-open-close.html');
55 window.addEventListener("message", processMessage, false); 56 window.addEventListener("message", processMessage, false);
56 </script> 57 </script>
57 </body> 58 </body>
58 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698