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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/scriptprocessornode-0-output-channels.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/scriptprocessornode-0-output-channels.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/scriptprocessornode-0-output-channels.html b/third_party/WebKit/LayoutTests/webaudio/scriptprocessornode-0-output-channels.html
deleted file mode 100644
index 3f23f8375a21cac067a1f9400aba59b5178f98a6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/scriptprocessornode-0-output-channels.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>Test Connecting 0-output channel ScriptProcessor to Another Node </title>
- <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>
- </head>
-
- <body>
- <script>
- description("Test Connecting 0-output channel ScriptProcessor to Another Node");
- window.jsTestIsAsync = true;
-
- var audit = Audit.createTaskRunner();
- var context;
- var scriptNode1;
- var scriptNode2;
- var analyzer;
-
- audit.defineTask("initialize", function (done) {
- Should("context = new OfflineAudioContext(1, 1024, 44100)", function () {
- context = new OfflineAudioContext(1, 1024, 44100);
- }).notThrow();
- Should("analyzer = context.createAnalyser()", function () {
- analyzer = context.createAnalyser();
- }).notThrow();
- Should("scriptNode1 = context.createScriptProcessor(1024, 11, 0)", function () {
- scriptNode1 = context.createScriptProcessor(1024, 11, 0);
- }).notThrow();
- Should("scriptNode2 = context.createScriptProcessor(1024, 1, 1)", function () {
- scriptNode2 = context.createScriptProcessor(1024, 1, 1);
- }).notThrow();
- done();
- });
-
- audit.defineTask("test", function (done) {
- Should("scriptNode1.connect(analyzer)", function () {
- scriptNode1.connect(analyzer);
- }).throw("InvalidAccessError");
- Should("scriptNode2.connect(analyzer)", function () {
- scriptNode2.connect(analyzer);
- }).notThrow();
- done();
- });
-
- audit.defineTask("finish", function (done) {
- done();
- finishJSTest();
- });
-
- audit.runTasks(
- "initialize",
- "test",
- "finish"
- );
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698