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

Unified Diff: LayoutTests/webaudio/audionode-disconnect-expected.txt

Issue 886173004: Fix AudioNode.disconnect() to support selective disconnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed and added layout test parts. Created 5 years, 10 months 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: LayoutTests/webaudio/audionode-disconnect-expected.txt
diff --git a/LayoutTests/webaudio/audionode-disconnect-expected.txt b/LayoutTests/webaudio/audionode-disconnect-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a10d5986b0917370e23d0d78547350bdc5b479e8
--- /dev/null
+++ b/LayoutTests/webaudio/audionode-disconnect-expected.txt
@@ -0,0 +1,24 @@
+Test disconnect() method on AudioNode destination.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS ChannelData has expected values (0).
+PASS ChannelData has expected values (4).
+PASS ChannelData has expected values (2).
+PASS ChannelData has expected values (3).
+PASS ChannelData has expected values (1).
+PASS ChannelData has expected values (2).
+PASS ChannelData has expected values (0).
+PASS "splitter.disconnect(2)" threw exception IndexSizeError.
Raymond Toy 2015/02/13 17:08:16 "threw" -> "correctly threw"
Raymond Toy 2015/02/13 17:51:05 Never mind. This is what js-test does.
hongchan 2015/02/13 20:19:26 Done.
+PASS "splitter.disconnect(1);splitter.disconnect(1)" did not throw exception.
+PASS "gain1.disconnect(gain2);gain1.disconnect(gain2)" threw exception InvalidAccessError.
+PASS "gain1.disconnect(gain3)" threw exception InvalidAccessError.
+PASS "splitter.disconnect(gain2,2)" threw exception IndexSizeError.
+PASS "splitter.disconnect(gain1,0)" threw exception InvalidAccessError.
+PASS "splitter.disconnect(gain3,0,0)" threw exception InvalidAccessError.
+PASS "splitter.disconnect(merger,3,0)" threw exception IndexSizeError.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698