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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/panner-distance-clamping.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 <title>Test Clamping of Distance for PannerNode</title> 4 <title>Test Clamping of Distance for PannerNode</title>
5 <script src="../resources/testharness.js"></script> 5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script> 6 <script src="../resources/testharnessreport.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 </head> 9 </head>
9 10
10 <body> 11 <body>
11 <script> 12 <script>
12 // Arbitrary sample rate and render length. 13 // Arbitrary sample rate and render length.
13 var sampleRate = 48000; 14 var sampleRate = 48000;
14 var renderFrames = 128; 15 var renderFrames = 128;
15 16
16 var audit = Audit.createTaskRunner(); 17 var audit = Audit.createTaskRunner();
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 .beEqualTo(true); 204 .beEqualTo(true);
204 Should("Test panner output " + JSON.stringify(options), actual) 205 Should("Test panner output " + JSON.stringify(options), actual)
205 .beEqualToArray(expected); 206 .beEqualToArray(expected);
206 }); 207 });
207 } 208 }
208 209
209 audit.runTasks(); 210 audit.runTasks();
210 </script> 211 </script>
211 </body> 212 </body>
212 </html> 213 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698