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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-initial-event.html

Issue 2599873003: Remove compatibility.js from WebAudio tests (Closed)
Patch Set: Rebasing Created 3 years, 11 months 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>
7 <script src="../resources/audit-util.js"></script> 6 <script src="../resources/audit-util.js"></script>
8 <script src="../resources/audio-testing.js"></script> 7 <script src="../resources/audio-testing.js"></script>
9 <script src="../resources/audioparam-testing.js"></script> 8 <script src="../resources/audioparam-testing.js"></script>
10 <title>AudioParam Initial Events </title> 9 <title>AudioParam Initial Events </title>
11 </head> 10 </head>
12 11
13 <body> 12 <body>
14 <script> 13 <script>
15 description("Test Automation Ramps without Initial Event"); 14 description("Test Automation Ramps without Initial Event");
16 window.jsTestIsAsync = true; 15 window.jsTestIsAsync = true;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 return context.startRendering() 165 return context.startRendering()
167 .then(function (resultBuffer) { 166 .then(function (resultBuffer) {
168 var result = resultBuffer.getChannelData(0); 167 var result = resultBuffer.getChannelData(0);
169 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation EndTime, renderFrames); 168 var expected = referenceFunction(v0, v1, delay ? delay : 0, automation EndTime, renderFrames);
170 Should(message, result).beCloseToArray(expected, threshold); 169 Should(message, result).beCloseToArray(expected, threshold);
171 }); 170 });
172 } 171 }
173 </script> 172 </script>
174 </body> 173 </body>
175 174
176 </html> 175 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698