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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.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/panner-automation-equalpower-stereo.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html b/third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html
deleted file mode 100644
index b88cd868f0f71c33f1228515ffaffe9e43d0593a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/panner-automation-equalpower-stereo.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <script src="../resources/js-test.js"></script>
- <script src="resources/compatibility.js"></script>
- <script src="resources/audit-util.js"></script>
- <script src="resources/audio-testing.js"></script>
- <script src="resources/panner-model-testing.js"></script>
- </head>
-
- <body>
- <div id="description"></div>
- <div id="console"></div>
-
- <script>
- description("Test equal-power panner model of AudioPannerNode with stereo source.");
-
- // To test the panner, we create a number of panner nodes
- // equally spaced on a semicircle at unit distance. The
- // semicircle covers the azimuth range from -90 to 90 deg,
- // covering full left to full right. Each source is an impulse
- // turning at a different time and we check that the rendered
- // impulse has the expected gain.
- function runTest() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.jsTestIsAsync = true;
-
- // Create offline audio context.
- context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
-
- createTestAndRun(context, nodesToCreate, 2, function (panner, x, y, z) {
- panner.positionX.value = x;
- panner.positionY.value = y;
- panner.positionZ.value = z;
- });
- }
-
- runTest();
- successfullyParsed = true;
-
- </script>
-
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698