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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-initial-event.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 3
4 <head> 4 <head>
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 <script src="resources/audioparam-testing.js"></script> 9 <script src="../resources/audioparam-testing.js"></script>
10 <title>AudioParam Initial Events </title> 10 <title>AudioParam Initial Events </title>
11 </head> 11 </head>
12 12
13 <body> 13 <body>
14 <script> 14 <script>
15 description("Test Automation Ramps without Initial Event"); 15 description("Test Automation Ramps without Initial Event");
16 window.jsTestIsAsync = true; 16 window.jsTestIsAsync = true;
17 17
18 var sampleRate = 48000; 18 var sampleRate = 48000;
19 // Number of frames in a rendering quantum. 19 // Number of frames in a rendering quantum.
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 .then(function (resultBuffer) { 167 .then(function (resultBuffer) {
168 var result = resultBuffer.getChannelData(0); 168 var result = resultBuffer.getChannelData(0);
169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation EndTime, renderFrames); 169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation EndTime, renderFrames);
170 Should(message, result).beCloseToArray(expected, threshold); 170 Should(message, result).beCloseToArray(expected, threshold);
171 }); 171 });
172 } 172 }
173 </script> 173 </script>
174 </body> 174 </body>
175 175
176 </html> 176 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698