Index: third_party/WebKit/LayoutTests/webaudio/note-grain-on-timing.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/note-grain-on-timing.html b/third_party/WebKit/LayoutTests/webaudio/note-grain-on-timing.html |
deleted file mode 100644 |
index c30557629bdfee4ebc763bbf8ba8ebfbb79e3ac9..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/webaudio/note-grain-on-timing.html |
+++ /dev/null |
@@ -1,65 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
-<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/note-grain-on-testing.js"></script> |
- </head> |
- |
- <body> |
- <div id="description"></div> |
- <div id="console"></div> |
- |
- <script> |
- description("Test timing of noteGrainOn."); |
- |
- var squarePulseBuffer; |
- |
- function checkResult(event) { |
- var buffer = event.renderedBuffer; |
- renderedData = buffer.getChannelData(0); |
- var nSamples = renderedData.length; |
- |
- var success = true; |
- |
- var startEndFrames = findStartAndEndSamples(renderedData); |
- |
- success = success && verifyStartAndEndFrames(startEndFrames); |
- |
- if (success) { |
- testPassed("noteGrainOn timing tests passed."); |
- } else { |
- testFailed("noteGrainOn timing tests failed."); |
- } |
- |
- finishJSTest(); |
- } |
- |
- function runTest() { |
- if (window.testRunner) { |
- testRunner.dumpAsText(); |
- testRunner.waitUntilDone(); |
- } |
- |
- window.jsTestIsAsync = true; |
- |
- // Create offline audio context. |
- context = new OfflineAudioContext(2, sampleRate * renderTime, sampleRate); |
- |
- squarePulseBuffer = createSignalBuffer(context, function (k) { return 1 }); |
- |
- playAllGrains(context, squarePulseBuffer, numberOfTests); |
- |
- context.oncomplete = checkResult; |
- context.startRendering(); |
- } |
- |
- runTest(); |
- successfullyParsed = true; |
- |
- </script> |
- |
- </body> |
-</html> |