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

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

Powered by Google App Engine
This is Rietveld 408576698