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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audiobuffersource.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 See if we can load an AudioBuffer, create an AudioBufferSourceNode, attach the b uffer to it, then play it. 4 See if we can load an AudioBuffer, create an AudioBufferSourceNode, attach the b uffer to it, then play it.
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 <script type="text/javascript" src="resources/buffer-loader.js"></script> 11 <script type="text/javascript" src="resources/buffer-loader.js"></script>
11 12
12 <script> 13 <script>
13 14
14 window.onload = init; 15 window.onload = init;
15 16
16 var sampleRate = 44100.0; 17 var sampleRate = 44100.0;
17 var lengthInSeconds = 2; 18 var lengthInSeconds = 2;
18 19
19 var context = 0; 20 var context = 0;
(...skipping 27 matching lines...) Expand all
47 48
48 context.oncomplete = finishAudioTest; 49 context.oncomplete = finishAudioTest;
49 context.startRendering(); 50 context.startRendering();
50 } 51 }
51 52
52 </script> 53 </script>
53 </head> 54 </head>
54 <body> 55 <body>
55 </body> 56 </body>
56 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698