| OLD | NEW |
| (Empty) |
| 1 Basic tests for MediaElementAudioSourceNode API. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 PASS audioNode.numberOfInputs is 0 | |
| 6 PASS audioNode.numberOfOutputs is 1 | |
| 7 PASS audioNode.connect(0, 0, 0) threw exception TypeError: Failed to execute 'co
nnect' on 'AudioNode': parameter 1 is not of type 'AudioNode'.. | |
| 8 PASS audioNode.connect(context.destination, 5, 0) threw exception IndexSizeError
: Failed to execute 'connect' on 'AudioNode': output index (5) exceeds number of
outputs (1).. | |
| 9 PASS audioNode.connect(context.destination, 0, 5) threw exception IndexSizeError
: Failed to execute 'connect' on 'AudioNode': input index (5) exceeds number of
inputs (1).. | |
| 10 PASS audioNode.connect(context.destination, 0, 0) did not throw exception. | |
| 11 PASS context.createMediaElementSource(audioElement) threw exception InvalidState
Error: Failed to execute 'createMediaElementSource' on 'BaseAudioContext': HTMLM
ediaElement already connected previously to a different MediaElementSourceNode.. | |
| 12 PASS successfullyParsed is true | |
| 13 | |
| 14 TEST COMPLETE | |
| 15 | |
| OLD | NEW |