OLD | NEW |
| (Empty) |
1 Test disconnect() method on AudioNode destination. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS Channel #0 contains only the constant 0. | |
7 PASS Channel #0 contains only the constant 4. | |
8 PASS Channel #0 contains only the constant 2. | |
9 PASS Channel #0 contains only the constant 3. | |
10 PASS Channel #0 contains only the constant 1. | |
11 PASS Channel #1 contains only the constant 2. | |
12 PASS Channel #2 contains only the constant 0. | |
13 PASS splitter.disconnect(2) threw IndexSizeError: Failed to execute 'disconnect'
on 'AudioNode': The output index provided (2) is outside the range [0, 1].. | |
14 PASS Disconnecting a connection twice did not throw an exception. | |
15 PASS gain1.disconnect(gain2) threw InvalidAccessError: Failed to execute 'discon
nect' on 'AudioNode': the given destination is not connected.. | |
16 PASS gain1.disconnect(gain3) threw InvalidAccessError: Failed to execute 'discon
nect' on 'AudioNode': the given destination is not connected.. | |
17 PASS splitter.disconnect(gain2, 2) threw IndexSizeError: Failed to execute 'disc
onnect' on 'AudioNode': The output index provided (2) is outside the range [0, 1
].. | |
18 PASS splitter.disconnect(gain1, 0) threw InvalidAccessError: Failed to execute '
disconnect' on 'AudioNode': output (0) is not connected to the given destination
.. | |
19 PASS splitter.disconnect(gain3, 0, 0) threw InvalidAccessError: Failed to execut
e 'disconnect' on 'AudioNode': output (0) is not connected to the input (0) of t
he destination.. | |
20 PASS splitter.disconnect(merger, 3, 0) threw IndexSizeError: Failed to execute '
disconnect' on 'AudioNode': The output index provided (3) is outside the range [
0, 1].. | |
21 PASS Disabled outputs handled correctly. | |
22 PASS successfullyParsed is true | |
23 | |
24 TEST COMPLETE | |
25 | |
OLD | NEW |