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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioBufferSource/audiobuffersource-playbackrate.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files 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 <title>AudioBufferSourceNode - playbackRate test</title> 4 <title>AudioBufferSourceNode - playbackRate test</title>
5 <script src="../resources/js-test.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script src="resources/compatibility.js"></script> 6 <script src="../resources/compatibility.js"></script>
7 <script src="resources/audit-util.js"></script> 7 <script src="../resources/audit-util.js"></script>
8 <script src="resources/audio-testing.js"></script> 8 <script src="../resources/audio-testing.js"></script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <script> 11 <script>
12 description("Test if AudioBufferSourceNode.playbackRate can playback at differ ent rates properly."); 12 description("Test if AudioBufferSourceNode.playbackRate can playback at differ ent rates properly.");
13 window.jsTestIsAsync = true; 13 window.jsTestIsAsync = true;
14 14
15 // Any sample rate mutiple of 128 is valid for this test, but here it uses 15 // Any sample rate mutiple of 128 is valid for this test, but here it uses
16 // 48000Hz because it is a commonly used number that happens to be multiple 16 // 48000Hz because it is a commonly used number that happens to be multiple
17 // of 128. 17 // of 128.
18 var sampleRate = 48000; 18 var sampleRate = 48000;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 compareBuffersWithConstraints(octaveActual, octaveExpected, testConstraint s[i]); 109 compareBuffersWithConstraints(octaveActual, octaveExpected, testConstraint s[i]);
110 } 110 }
111 111
112 finishJSTest(); 112 finishJSTest();
113 }); 113 });
114 114
115 successfullyParsed = true; 115 successfullyParsed = true;
116 </script> 116 </script>
117 </body> 117 </body>
118 </html> 118 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698