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

Side by Side Diff: LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt

Issue 555133003: Use ExceptionState to throw exceptions when converting arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 Tests webkitMediaStream. 1 Tests webkitMediaStream.
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 5
6 PASS Got local stream. 6 PASS Got local stream.
7 PASS localStream.getAudioTracks().length is 1 7 PASS localStream.getAudioTracks().length is 1
8 PASS localStream.getVideoTracks().length is 1 8 PASS localStream.getVideoTracks().length is 1
9 PASS typeof webkitMediaStream === 'function' is true 9 PASS typeof webkitMediaStream === 'function' is true
10 PASS checkIdAttribute(localStream.id) is true 10 PASS checkIdAttribute(localStream.id) is true
11 PASS new webkitMediaStream(document) threw exception TypeError: Failed to constr uct 'MediaStream': No matching constructor signature.. 11 PASS new webkitMediaStream(document) threw exception TypeError: Failed to constr uct 'MediaStream': No matching constructor signature..
12 PASS new webkitMediaStream([document]) threw exception TypeError: Invalid Array element type. 12 PASS new webkitMediaStream([document]) threw exception TypeError: Failed to cons truct 'MediaStream': Invalid Array element type.
13 PASS new webkitMediaStream([stream.getAudioTracks()[0], document]) threw excepti on TypeError: Invalid Array element type. 13 PASS new webkitMediaStream([stream.getAudioTracks()[0], document]) threw excepti on TypeError: Failed to construct 'MediaStream': Invalid Array element type.
14 PASS new webkitMediaStream([null]) threw exception TypeError: Invalid Array elem ent type. 14 PASS new webkitMediaStream([null]) threw exception TypeError: Failed to construc t 'MediaStream': Invalid Array element type.
15 PASS new webkitMediaStream([undefined]) threw exception TypeError: Invalid Array element type. 15 PASS new webkitMediaStream([undefined]) threw exception TypeError: Failed to con struct 'MediaStream': Invalid Array element type.
16 PASS new webkitMediaStream(null) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature.. 16 PASS new webkitMediaStream(null) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
17 PASS new webkitMediaStream(undefined) threw exception TypeError: Failed to const ruct 'MediaStream': No matching constructor signature.. 17 PASS new webkitMediaStream(undefined) threw exception TypeError: Failed to const ruct 'MediaStream': No matching constructor signature..
18 PASS Stream constructed 18 PASS Stream constructed
19 PASS [object MediaStream] is non-null. 19 PASS [object MediaStream] is non-null.
20 PASS [object MediaStream] is defined. 20 PASS [object MediaStream] is defined.
21 PASS newStream.constructor.name is 'MediaStream' 21 PASS newStream.constructor.name is 'MediaStream'
22 PASS newStream.getAudioTracks().length is nAudio 22 PASS newStream.getAudioTracks().length is nAudio
23 PASS newStream.getVideoTracks().length is nVideo 23 PASS newStream.getVideoTracks().length is nVideo
24 PASS checkIdAttribute(newStream.id) is true 24 PASS checkIdAttribute(newStream.id) is true
25 PASS Stream constructed 25 PASS Stream constructed
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PASS [object MediaStream] is non-null. 89 PASS [object MediaStream] is non-null.
90 PASS [object MediaStream] is defined. 90 PASS [object MediaStream] is defined.
91 PASS newStream.constructor.name is 'MediaStream' 91 PASS newStream.constructor.name is 'MediaStream'
92 PASS newStream.getAudioTracks().length is nAudio 92 PASS newStream.getAudioTracks().length is nAudio
93 PASS newStream.getVideoTracks().length is nVideo 93 PASS newStream.getVideoTracks().length is nVideo
94 PASS checkIdAttribute(newStream.id) is true 94 PASS checkIdAttribute(newStream.id) is true
95 PASS successfullyParsed is true 95 PASS successfullyParsed is true
96 96
97 TEST COMPLETE 97 TEST COMPLETE
98 98
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/init-message-event-expected.txt ('k') | Source/bindings/core/v8/Dictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698