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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/osc-negative-freq.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 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="resources/compatibility.js"></script>
6 <script src="resources/audit-util.js"></script>
6 <script src="resources/audio-testing.js"></script> 7 <script src="resources/audio-testing.js"></script>
7 <title>Test OscillatorNode with Negative Frequency</title> 8 <title>Test OscillatorNode with Negative Frequency</title>
8 </head> 9 </head>
9 10
10 <body> 11 <body>
11 <script> 12 <script>
12 description("Test OscillatorNode with Negative Frequency."); 13 description("Test OscillatorNode with Negative Frequency.");
13 window.jsTestIsAsync = true; 14 window.jsTestIsAsync = true;
14 15
15 // Some arbitrary sample rate for the offline context. 16 // Some arbitrary sample rate for the offline context.
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 var zero = new Float32Array(result.length); 191 var zero = new Float32Array(result.length);
191 zero.fill(0); 192 zero.fill(0);
192 Should(options.message, result, { 193 Should(options.message, result, {
193 verbose: true 194 verbose: true
194 }).beCloseToArray(zero, options.threshold || 0); 195 }).beCloseToArray(zero, options.threshold || 0);
195 }); 196 });
196 } 197 }
197 </script> 198 </script>
198 </body> 199 </body>
199 </html> 200 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698