Index: third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelaylimit.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelaylimit.html b/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelaylimit.html |
deleted file mode 100644 |
index b163781a7b4f11dd0baf179f5540ba368cf083c2..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/webaudio/delaynode-maxdelaylimit.html |
+++ /dev/null |
@@ -1,59 +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 attribute and maximum allowed delay of DelayNode."); |
- |
-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; |
- |
- window.context = context; |
- shouldThrow("context.createDelay(180)"); |
- shouldThrow("context.createDelay(0)"); |
- shouldThrow("context.createDelay(-1)"); |
- shouldThrow("context.createDelay(NaN)"); |
- |
- var delay = context.createDelay(179); |
- delay.delayTime.value = delayTimeSeconds; |
- window.delay = delay; |
- shouldBeTrue("delay.delayTime.value === 0.5"); |
- |
- bufferSource.connect(delay); |
- delay.connect(context.destination); |
- bufferSource.start(0); |
- |
- context.oncomplete = checkDelayedResult(toneBuffer); |
- context.startRendering(); |
-} |
- |
-runTest(); |
- |
-</script> |
- |
-</body> |
-</html> |