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

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

Issue 13599006: [MediaStream API] Allow empty MediaStreams (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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: Type error. 11 PASS new webkitMediaStream(document) threw exception TypeError: Type error.
12 PASS new webkitMediaStream([document]) threw exception TypeError: Invalid Array element type. 12 PASS new webkitMediaStream([document]) threw exception TypeError: 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: 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: Invalid Array elem ent type.
15 PASS new webkitMediaStream([undefined]) threw exception TypeError: Invalid Array element type. 15 PASS new webkitMediaStream([undefined]) threw exception TypeError: Invalid Array element type.
16 PASS new webkitMediaStream(null) threw exception TypeError: Type error. 16 PASS new webkitMediaStream(null) threw exception TypeError: Type error.
17 PASS new webkitMediaStream(undefined) threw exception TypeError: Type error. 17 PASS new webkitMediaStream(undefined) threw exception TypeError: Type error.
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 newStream.ended is true
25 PASS checkIdAttribute(newStream.id) is true 24 PASS checkIdAttribute(newStream.id) is true
26 PASS Stream constructed 25 PASS Stream constructed
27 PASS [object MediaStream] is non-null. 26 PASS [object MediaStream] is non-null.
28 PASS [object MediaStream] is defined. 27 PASS [object MediaStream] is defined.
29 PASS newStream.constructor.name is 'MediaStream' 28 PASS newStream.constructor.name is 'MediaStream'
30 PASS newStream.getAudioTracks().length is nAudio 29 PASS newStream.getAudioTracks().length is nAudio
31 PASS newStream.getVideoTracks().length is nVideo 30 PASS newStream.getVideoTracks().length is nVideo
32 PASS newStream.ended is true
33 PASS checkIdAttribute(newStream.id) is true 31 PASS checkIdAttribute(newStream.id) is true
34 PASS Stream constructed 32 PASS Stream constructed
35 PASS [object MediaStream] is non-null. 33 PASS [object MediaStream] is non-null.
36 PASS [object MediaStream] is defined. 34 PASS [object MediaStream] is defined.
37 PASS newStream.constructor.name is 'MediaStream' 35 PASS newStream.constructor.name is 'MediaStream'
38 PASS newStream.getAudioTracks().length is nAudio 36 PASS newStream.getAudioTracks().length is nAudio
39 PASS newStream.getVideoTracks().length is nVideo 37 PASS newStream.getVideoTracks().length is nVideo
40 PASS newStream.ended is false
41 PASS checkIdAttribute(newStream.id) is true 38 PASS checkIdAttribute(newStream.id) is true
42 PASS Stream constructed 39 PASS Stream constructed
43 PASS [object MediaStream] is non-null. 40 PASS [object MediaStream] is non-null.
44 PASS [object MediaStream] is defined. 41 PASS [object MediaStream] is defined.
45 PASS newStream.constructor.name is 'MediaStream' 42 PASS newStream.constructor.name is 'MediaStream'
46 PASS newStream.getAudioTracks().length is nAudio 43 PASS newStream.getAudioTracks().length is nAudio
47 PASS newStream.getVideoTracks().length is nVideo 44 PASS newStream.getVideoTracks().length is nVideo
48 PASS newStream.ended is false
49 PASS checkIdAttribute(newStream.id) is true 45 PASS checkIdAttribute(newStream.id) is true
50 PASS Stream constructed 46 PASS Stream constructed
51 PASS [object MediaStream] is non-null. 47 PASS [object MediaStream] is non-null.
52 PASS [object MediaStream] is defined. 48 PASS [object MediaStream] is defined.
53 PASS newStream.constructor.name is 'MediaStream' 49 PASS newStream.constructor.name is 'MediaStream'
54 PASS newStream.getAudioTracks().length is nAudio 50 PASS newStream.getAudioTracks().length is nAudio
55 PASS newStream.getVideoTracks().length is nVideo 51 PASS newStream.getVideoTracks().length is nVideo
56 PASS newStream.ended is false
57 PASS checkIdAttribute(newStream.id) is true 52 PASS checkIdAttribute(newStream.id) is true
58 PASS Stream constructed 53 PASS Stream constructed
59 PASS [object MediaStream] is non-null. 54 PASS [object MediaStream] is non-null.
60 PASS [object MediaStream] is defined. 55 PASS [object MediaStream] is defined.
61 PASS newStream.constructor.name is 'MediaStream' 56 PASS newStream.constructor.name is 'MediaStream'
62 PASS newStream.getAudioTracks().length is nAudio 57 PASS newStream.getAudioTracks().length is nAudio
63 PASS newStream.getVideoTracks().length is nVideo 58 PASS newStream.getVideoTracks().length is nVideo
64 PASS newStream.ended is false
65 PASS checkIdAttribute(newStream.id) is true 59 PASS checkIdAttribute(newStream.id) is true
66 PASS Stream constructed 60 PASS Stream constructed
67 PASS [object MediaStream] is non-null. 61 PASS [object MediaStream] is non-null.
68 PASS [object MediaStream] is defined. 62 PASS [object MediaStream] is defined.
69 PASS newStream.constructor.name is 'MediaStream' 63 PASS newStream.constructor.name is 'MediaStream'
70 PASS newStream.getAudioTracks().length is nAudio 64 PASS newStream.getAudioTracks().length is nAudio
71 PASS newStream.getVideoTracks().length is nVideo 65 PASS newStream.getVideoTracks().length is nVideo
72 PASS newStream.ended is false
73 PASS checkIdAttribute(newStream.id) is true 66 PASS checkIdAttribute(newStream.id) is true
74 PASS Stream constructed 67 PASS Stream constructed
75 PASS [object MediaStream] is non-null. 68 PASS [object MediaStream] is non-null.
76 PASS [object MediaStream] is defined. 69 PASS [object MediaStream] is defined.
77 PASS newStream.constructor.name is 'MediaStream' 70 PASS newStream.constructor.name is 'MediaStream'
78 PASS newStream.getAudioTracks().length is nAudio 71 PASS newStream.getAudioTracks().length is nAudio
79 PASS newStream.getVideoTracks().length is nVideo 72 PASS newStream.getVideoTracks().length is nVideo
80 PASS newStream.ended is true
81 PASS checkIdAttribute(newStream.id) is true 73 PASS checkIdAttribute(newStream.id) is true
82 PASS Stream constructed 74 PASS Stream constructed
83 PASS [object MediaStream] is non-null. 75 PASS [object MediaStream] is non-null.
84 PASS [object MediaStream] is defined. 76 PASS [object MediaStream] is defined.
85 PASS newStream.constructor.name is 'MediaStream' 77 PASS newStream.constructor.name is 'MediaStream'
86 PASS newStream.getAudioTracks().length is nAudio 78 PASS newStream.getAudioTracks().length is nAudio
87 PASS newStream.getVideoTracks().length is nVideo 79 PASS newStream.getVideoTracks().length is nVideo
88 PASS newStream.ended is true
89 PASS checkIdAttribute(newStream.id) is true 80 PASS checkIdAttribute(newStream.id) is true
90 PASS Stream constructed 81 PASS Stream constructed
91 PASS [object MediaStream] is non-null. 82 PASS [object MediaStream] is non-null.
92 PASS [object MediaStream] is defined. 83 PASS [object MediaStream] is defined.
93 PASS newStream.constructor.name is 'MediaStream' 84 PASS newStream.constructor.name is 'MediaStream'
94 PASS newStream.getAudioTracks().length is nAudio 85 PASS newStream.getAudioTracks().length is nAudio
95 PASS newStream.getVideoTracks().length is nVideo 86 PASS newStream.getVideoTracks().length is nVideo
96 PASS newStream.ended is true
97 PASS checkIdAttribute(newStream.id) is true 87 PASS checkIdAttribute(newStream.id) is true
98 PASS Stream constructed 88 PASS Stream constructed
99 PASS [object MediaStream] is non-null. 89 PASS [object MediaStream] is non-null.
100 PASS [object MediaStream] is defined. 90 PASS [object MediaStream] is defined.
101 PASS newStream.constructor.name is 'MediaStream' 91 PASS newStream.constructor.name is 'MediaStream'
102 PASS newStream.getAudioTracks().length is nAudio 92 PASS newStream.getAudioTracks().length is nAudio
103 PASS newStream.getVideoTracks().length is nVideo 93 PASS newStream.getVideoTracks().length is nVideo
104 PASS newStream.ended is true
105 PASS checkIdAttribute(newStream.id) is true 94 PASS checkIdAttribute(newStream.id) is true
106 PASS successfullyParsed is true 95 PASS successfullyParsed is true
107 96
108 TEST COMPLETE 97 TEST COMPLETE
109 98
OLDNEW
« no previous file with comments | « LayoutTests/fast/mediastream/MediaStreamConstructor.html ('k') | Source/WebCore/platform/mediastream/MediaStreamDescriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698