1 Basic tests for AudioNode API.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS Source AudioNode has no inputs.
6 PASS Source AudioNode has one output.
7 PASS Destination AudioNode has one input.
8 PASS Destination AudioNode has no outputs.
9 PASS audioNode.connect(0, 0, 0) threw exception TypeError: Failed to execute 'connect' on 'AudioNode': parameter 1 is not of type 'AudioNode'..
10 PASS audioNode.connect(null, 0, 0) threw exception TypeError: Failed to execute 'connect' on 'AudioNode': parameter 1 is not of type 'AudioNode'..
11 PASS audioNode.connect(context.destination, 5, 0) threw exception IndexSizeError: Failed to execute 'connect' on 'AudioNode': output index (5) exceeds number of outputs (1)..
12 PASS audioNode.connect(context.destination, 0, 5) threw exception IndexSizeError: Failed to execute 'connect' on 'AudioNode': input index (5) exceeds number of inputs (1)..
13 PASS audioNode.connect(context.destination, 0, 0) did not throw exception.
14 PASS exception thrown when connecting to other context's node.
15 PASS context3 = new AudioContext(1, 44100, 44100) did not throw exception.
16 PASS context3 is not an OfflineAudioContext
17 PASS AudioNode is an EventTarget
18 PASS successfullyParsed is true