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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/periodicwave-contexts.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/periodicwave-contexts.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/periodicwave-contexts.html b/third_party/WebKit/LayoutTests/webaudio/periodicwave-contexts.html
deleted file mode 100644
index 80d4ae39249b20b102caa270adaf6575e41204a3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/periodicwave-contexts.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>Test Oscillator Node: sawtooth</title>
- <script src="../resources/js-test.js"></script>
- <script src="resources/compatibility.js"></script>
- <script src="resources/buffer-loader.js"></script>
- <script src="resources/oscillator-testing.js"></script>
- </head>
-
- <body>
- <script>
- description("Test Builtin Oscillator PeriodicWave Tables");
-
- // Create an offline context with a sample rate that is very different from the sample rate
- // used in the OscillatorTestingUtils. This will create a internal PeriodicWave objects for
- // the Oscillator. This should not interfere with the oscillator test using a different
- // context with a different sample rate.
-
- var context = new OfflineAudioContext(1, 1, 3000);
- var osc = context.createOscillator();
- osc.type = "sawtooth";
- osc = null;
-
- // This test is identical to the test in osc-sawtooth-sweep-snr.html.
- var tester = OscillatorTestingUtils;
-
- // The thresholds are experimentally determined.
- tester.setThresholds({snr: 80.00, maxDiff: 4.06, diffCount: 15827});
- tester.runTest("sawtooth");
- successfullyParsed = true;
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698