Index: LayoutTests/webaudio/osc-custom-sweep-snr.html |
diff --git a/LayoutTests/webaudio/osc-custom-sweep-snr.html b/LayoutTests/webaudio/osc-custom-sweep-snr.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..979f2eeb7471d7b958cc22b727bdbb2d982a5128 |
--- /dev/null |
+++ b/LayoutTests/webaudio/osc-custom-sweep-snr.html |
@@ -0,0 +1,23 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>Test Oscillator Node: custom</title> |
+ <script src="resources/compatibility.js"></script> |
+ <script src="resources/buffer-loader.js"></script> |
+ <script src="../resources/js-test.js"></script> |
+ <script src="resources/oscillator-testing.js"></script> |
+ </head> |
+ |
+ <body> |
+ <script> |
+ description("Test Custom Oscillator with Exponential Sweep"); |
+ |
+ var tester = OscillatorTestingUtils; |
+ |
+ // The thresholds are experimentally determined. |
+ tester.setThresholds({snr: 83.89, maxDiff: 2.22, diffCount: 4450}); |
+ tester.runTest("custom"); |
+ successfullyParsed = true; |
+ </script> |
+ </body> |
+</html> |