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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/PeriodicWave/periodicwave-contexts.html

Issue 2768773002: Revert of Allow status = 0 when XHR is completed in Audit.loadFileFromUrl(). (Closed)
Patch Set: Created 3 years, 9 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: sawtooth</title> 4 <title>Test Oscillator Node: sawtooth</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/audit-util.js"></script>
8 <script src="../resources/audit.js"></script> 8 <script src="../resources/audit.js"></script>
9 <script src="../resources/buffer-loader.js"></script> 9 <script src="../resources/buffer-loader.js"></script>
10 <script src="../resources/oscillator-testing.js"></script> 10 <script src="../resources/oscillator-testing.js"></script>
(...skipping 15 matching lines...) Expand all
26 osc = null; 26 osc = null;
27 27
28 // This test is identical to the test in osc-sawtooth-sweep-snr.html. 28 // This test is identical to the test in osc-sawtooth-sweep-snr.html.
29 let tester = OscillatorTestingUtils; 29 let tester = OscillatorTestingUtils;
30 30
31 let context = new OfflineAudioContext(1, tester.sampleRate * 31 let context = new OfflineAudioContext(1, tester.sampleRate *
32 tester.lengthInSeconds, tester.sampleRate); 32 tester.lengthInSeconds, tester.sampleRate);
33 // The thresholds are experimentally determined. 33 // The thresholds are experimentally determined.
34 tester.setThresholds({ 34 tester.setThresholds({
35 snr: 80.00, 35 snr: 80.00,
36 maxDiff: 4.06 36 maxDiff: 4.06,
37 diffCount: 15827
37 }); 38 });
38 tester.runTest(context, "sawtooth", "Sawtooth PeriodicWave Test", 39 tester.runTest(context, "sawtooth", "Sawtooth PeriodicWave Test",
39 task, should); 40 task, should);
40 }); 41 });
41 42
42 audit.run(); 43 audit.run();
43 </script> 44 </script>
44 </body> 45 </body>
45 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698