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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audiobuffersource-ended.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/audiobuffersource-ended.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audiobuffersource-ended.html b/third_party/WebKit/LayoutTests/webaudio/audiobuffersource-ended.html
deleted file mode 100644
index 758b4dbdc47ff009fdd3add1d9e2e643e537c51f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/audiobuffersource-ended.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<head>
- <script src="../resources/js-test.js"></script>
- <script src="resources/audit-util.js"></script>
- <script src="resources/audio-testing.js"></script>
- <script src="resources/compatibility.js"></script>
- <script src="resources/audiobuffersource-testing.js"></script>
- <script>
- var context;
- var source;
-
- function runTest()
- {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- var sampleRate = 44100.0;
- var numberOfFrames = 32;
- context = new OfflineAudioContext(1, numberOfFrames, sampleRate);
- source = context.createBufferSource();
- source.buffer = createTestBuffer(context, numberOfFrames);
- source.connect(context.destination);
- source.onended = function()
- {
- testPassed("source.onended called.");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- source.start(0);
- context.startRendering();
- }
- </script>
-
-</head>
-<body onload="runTest()">
- <div>Tests that AudioBufferSourceNode calls its onended EventListener.</div>
- <div id="console"></div>
-</body>

Powered by Google App Engine
This is Rietveld 408576698