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

Side by Side Diff: LayoutTests/webaudio/mediaelementaudiosourcenode-expected.txt

Issue 692213004: Use better error message for an HTMLMediaElement that has already been connected. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Basic tests for MediaElementAudioSourceNode API. 1 Basic tests for MediaElementAudioSourceNode API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS Source AudioNode has no inputs. 5 PASS audioNode.numberOfInputs is 0
6 PASS Source AudioNode has one output. 6 PASS audioNode.numberOfOutputs is 1
7 PASS connect() exception thrown for illegal destination AudioNode. 7 PASS audioNode.connect(0, 0, 0) threw exception SyntaxError: Failed to execute ' connect' on 'AudioNode': invalid destination node..
8 PASS connect() exception thrown for illegal output index. 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 connect() exception thrown for illegal input index. 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) succeeded. 10 PASS audioNode.connect(context.destination, 0, 0) did not throw exception.
11 PASS createMediaElementSource() threw error when called twice on same HTMLMediaE lement. 11 PASS context.createMediaElementSource(audioElement) threw exception InvalidState Error: Failed to execute 'createMediaElementSource' on 'AudioContext': HTMLMedia Element already connected previously to a different MediaElementSourceNode..
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW
« no previous file with comments | « LayoutTests/webaudio/mediaelementaudiosourcenode.html ('k') | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698