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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html

Issue 2766883002: Allow status = 0 when XHR is completed in Audit.loadFileFromUrl(). (Closed)
Patch Set: Fixed threshold after revert 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html b/third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html
index e0ec7d8e8f826d5ba03d476290dd1fe3cbd0dd9a..8d90c61261b1e82e92c05be2b8319c302f8b18f3 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Oscillator/osc-sawtooth-sweep-snr.html
@@ -3,7 +3,7 @@
<head>
<title>Test Oscillator Node: sawtooth</title>
<script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audit.js"></script>
<script src="../resources/buffer-loader.js"></script>
@@ -21,13 +21,11 @@
// The thresholds are experimentally determined.
tester.setThresholds({
- snr: 1000,
- maxDiff: 0,
- diffCount: 0
+ snr: 92.858,
+ maxDiff: 0.0001
});
tester.runTest(context, "sawtooth",
- "Sawtooth Oscillator with Exponential Sweep",
- task, should);
+ "Sawtooth Oscillator with Exponential Sweep", task, should);
});
audit.run();

Powered by Google App Engine
This is Rietveld 408576698