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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelay.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/delaynode-maxdelay.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelay.html b/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelay.html
deleted file mode 100644
index 5924e0f4df60d42d4f27a464ff25b3f72eb38836..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelay.html
+++ /dev/null
@@ -1,55 +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/delay-testing.js"></script>
-</head>
-
-<body>
-
-<div id="description"></div>
-<div id="console"></div>
-
-<script>
-description("Tests basic functionality of DelayNode with a non-default max delay time.");
-
-function runTest() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.jsTestIsAsync = true;
-
- // Create offline audio context.
- var context = new OfflineAudioContext(1, sampleRate * renderLengthSeconds, sampleRate);
- var toneBuffer = createToneBuffer(context, 20, 20 * toneLengthSeconds, sampleRate); // 20Hz tone
-
- var bufferSource = context.createBufferSource();
- bufferSource.buffer = toneBuffer;
-
- // Create a delay node with an explicit max delay time (greater than the default of 1 second).
- var delay = context.createDelay(2);
- // Set the delay time to a value greater than the default max delay so we can verify the delay
- // is working for this case.
- delayTimeSeconds = 1.5;
- delay.delayTime.value = delayTimeSeconds;
-
- bufferSource.connect(delay);
- delay.connect(context.destination);
- bufferSource.start(0);
-
- context.oncomplete = checkDelayedResult(toneBuffer);
- context.startRendering();
-}
-
-runTest();
-
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698