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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audiobuffersource-loop-points.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 2
3 <!-- 3 <!--
4 Tests that AudioBufferSourceNode supports loop-points with .loopStart and .loopE nd. 4 Tests that AudioBufferSourceNode supports loop-points with .loopStart and .loopE nd.
5 --> 5 -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <script type="text/javascript" src="resources/audio-testing.js"></script> 9 <script src="resources/audit-util.js"></script>
10 <script src="resources/audio-testing.js"></script>
10 11
11 </head> 12 </head>
12 <body> 13 <body>
13 14
14 <script> 15 <script>
15 16
16 window.onload = init; 17 window.onload = init;
17 18
18 var sampleRate = 44100.0; 19 var sampleRate = 44100.0;
19 var numberOfNotes = 60; // play over a 5 octave range 20 var numberOfNotes = 60; // play over a 5 octave range
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 context.oncomplete = finishAudioTest; 103 context.oncomplete = finishAudioTest;
103 context.startRendering(); 104 context.startRendering();
104 105
105 testRunner.waitUntilDone(); 106 testRunner.waitUntilDone();
106 } 107 }
107 108
108 </script> 109 </script>
109 110
110 </body> 111 </body>
111 </html> 112 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698