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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-square-sweep-snr.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 <head> 3 <head>
4 <title>Test Oscillator Node: square</title> 4 <title>Test Oscillator Node: square</title>
5 <script src="../resources/compatibility.js"></script>
6 <script src="../resources/buffer-loader.js"></script> 5 <script src="../resources/buffer-loader.js"></script>
7 <script src="../../resources/js-test.js"></script> 6 <script src="../../resources/js-test.js"></script>
8 <script src="../resources/oscillator-testing.js"></script> 7 <script src="../resources/oscillator-testing.js"></script>
9 </head> 8 </head>
10 9
11 <body> 10 <body>
12 <script> 11 <script>
13 description("Test Square Oscillator with Exponential Sweep"); 12 description("Test Square Oscillator with Exponential Sweep");
14 13
15 // Thresholds for verifying the test passes. The thresholds are experimen tally determined. 14 // Thresholds for verifying the test passes. The thresholds are experimen tally determined.
16 15
17 var tester = OscillatorTestingUtils; 16 var tester = OscillatorTestingUtils;
18 // The thresholds are experimentally determined. 17 // The thresholds are experimentally determined.
19 tester.setThresholds({snr: 81.57, maxDiff: 7.26, diffCount: 18260}); 18 tester.setThresholds({snr: 81.57, maxDiff: 7.26, diffCount: 18260});
20 tester.runTest("square"); 19 tester.runTest("square");
21 successfullyParsed = true; 20 successfullyParsed = true;
22 </script> 21 </script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698