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

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

Issue 827673002: Add MediaStream.active attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 11 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: Failed to cons truct 'MediaStream': 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: Failed to construct 'MediaStream': 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: Failed to construc t 'MediaStream': Invalid Array element 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: Failed to con struct 'MediaStream': 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 newStream.active is false
24 PASS checkIdAttribute(newStream.id) is true 25 PASS checkIdAttribute(newStream.id) is true
25 PASS Stream constructed 26 PASS Stream constructed
26 PASS [object MediaStream] is non-null. 27 PASS [object MediaStream] is non-null.
27 PASS [object MediaStream] is defined. 28 PASS [object MediaStream] is defined.
28 PASS newStream.constructor.name is 'MediaStream' 29 PASS newStream.constructor.name is 'MediaStream'
29 PASS newStream.getAudioTracks().length is nAudio 30 PASS newStream.getAudioTracks().length is nAudio
30 PASS newStream.getVideoTracks().length is nVideo 31 PASS newStream.getVideoTracks().length is nVideo
32 PASS newStream.active is false
31 PASS checkIdAttribute(newStream.id) is true 33 PASS checkIdAttribute(newStream.id) is true
32 PASS Stream constructed 34 PASS Stream constructed
33 PASS [object MediaStream] is non-null. 35 PASS [object MediaStream] is non-null.
34 PASS [object MediaStream] is defined. 36 PASS [object MediaStream] is defined.
35 PASS newStream.constructor.name is 'MediaStream' 37 PASS newStream.constructor.name is 'MediaStream'
36 PASS newStream.getAudioTracks().length is nAudio 38 PASS newStream.getAudioTracks().length is nAudio
37 PASS newStream.getVideoTracks().length is nVideo 39 PASS newStream.getVideoTracks().length is nVideo
40 PASS newStream.active is true
38 PASS checkIdAttribute(newStream.id) is true 41 PASS checkIdAttribute(newStream.id) is true
39 PASS Stream constructed 42 PASS Stream constructed
40 PASS [object MediaStream] is non-null. 43 PASS [object MediaStream] is non-null.
41 PASS [object MediaStream] is defined. 44 PASS [object MediaStream] is defined.
42 PASS newStream.constructor.name is 'MediaStream' 45 PASS newStream.constructor.name is 'MediaStream'
43 PASS newStream.getAudioTracks().length is nAudio 46 PASS newStream.getAudioTracks().length is nAudio
44 PASS newStream.getVideoTracks().length is nVideo 47 PASS newStream.getVideoTracks().length is nVideo
48 PASS newStream.active is true
45 PASS checkIdAttribute(newStream.id) is true 49 PASS checkIdAttribute(newStream.id) is true
46 PASS Stream constructed 50 PASS Stream constructed
47 PASS [object MediaStream] is non-null. 51 PASS [object MediaStream] is non-null.
48 PASS [object MediaStream] is defined. 52 PASS [object MediaStream] is defined.
49 PASS newStream.constructor.name is 'MediaStream' 53 PASS newStream.constructor.name is 'MediaStream'
50 PASS newStream.getAudioTracks().length is nAudio 54 PASS newStream.getAudioTracks().length is nAudio
51 PASS newStream.getVideoTracks().length is nVideo 55 PASS newStream.getVideoTracks().length is nVideo
56 PASS newStream.active is true
52 PASS checkIdAttribute(newStream.id) is true 57 PASS checkIdAttribute(newStream.id) is true
53 PASS Stream constructed 58 PASS Stream constructed
54 PASS [object MediaStream] is non-null. 59 PASS [object MediaStream] is non-null.
55 PASS [object MediaStream] is defined. 60 PASS [object MediaStream] is defined.
56 PASS newStream.constructor.name is 'MediaStream' 61 PASS newStream.constructor.name is 'MediaStream'
57 PASS newStream.getAudioTracks().length is nAudio 62 PASS newStream.getAudioTracks().length is nAudio
58 PASS newStream.getVideoTracks().length is nVideo 63 PASS newStream.getVideoTracks().length is nVideo
64 PASS newStream.active is true
59 PASS checkIdAttribute(newStream.id) is true 65 PASS checkIdAttribute(newStream.id) is true
60 PASS Stream constructed 66 PASS Stream constructed
61 PASS [object MediaStream] is non-null. 67 PASS [object MediaStream] is non-null.
62 PASS [object MediaStream] is defined. 68 PASS [object MediaStream] is defined.
63 PASS newStream.constructor.name is 'MediaStream' 69 PASS newStream.constructor.name is 'MediaStream'
64 PASS newStream.getAudioTracks().length is nAudio 70 PASS newStream.getAudioTracks().length is nAudio
65 PASS newStream.getVideoTracks().length is nVideo 71 PASS newStream.getVideoTracks().length is nVideo
72 PASS newStream.active is true
66 PASS checkIdAttribute(newStream.id) is true 73 PASS checkIdAttribute(newStream.id) is true
67 PASS Stream constructed 74 PASS Stream constructed
68 PASS [object MediaStream] is non-null. 75 PASS [object MediaStream] is non-null.
69 PASS [object MediaStream] is defined. 76 PASS [object MediaStream] is defined.
70 PASS newStream.constructor.name is 'MediaStream' 77 PASS newStream.constructor.name is 'MediaStream'
71 PASS newStream.getAudioTracks().length is nAudio 78 PASS newStream.getAudioTracks().length is nAudio
72 PASS newStream.getVideoTracks().length is nVideo 79 PASS newStream.getVideoTracks().length is nVideo
80 PASS newStream.active is false
73 PASS checkIdAttribute(newStream.id) is true 81 PASS checkIdAttribute(newStream.id) is true
74 PASS Stream constructed 82 PASS Stream constructed
75 PASS [object MediaStream] is non-null. 83 PASS [object MediaStream] is non-null.
76 PASS [object MediaStream] is defined. 84 PASS [object MediaStream] is defined.
77 PASS newStream.constructor.name is 'MediaStream' 85 PASS newStream.constructor.name is 'MediaStream'
78 PASS newStream.getAudioTracks().length is nAudio 86 PASS newStream.getAudioTracks().length is nAudio
79 PASS newStream.getVideoTracks().length is nVideo 87 PASS newStream.getVideoTracks().length is nVideo
88 PASS newStream.active is false
80 PASS checkIdAttribute(newStream.id) is true 89 PASS checkIdAttribute(newStream.id) is true
81 PASS Stream constructed 90 PASS Stream constructed
82 PASS [object MediaStream] is non-null. 91 PASS [object MediaStream] is non-null.
83 PASS [object MediaStream] is defined. 92 PASS [object MediaStream] is defined.
84 PASS newStream.constructor.name is 'MediaStream' 93 PASS newStream.constructor.name is 'MediaStream'
85 PASS newStream.getAudioTracks().length is nAudio 94 PASS newStream.getAudioTracks().length is nAudio
86 PASS newStream.getVideoTracks().length is nVideo 95 PASS newStream.getVideoTracks().length is nVideo
96 PASS newStream.active is false
87 PASS checkIdAttribute(newStream.id) is true 97 PASS checkIdAttribute(newStream.id) is true
88 PASS Stream constructed 98 PASS Stream constructed
89 PASS [object MediaStream] is non-null. 99 PASS [object MediaStream] is non-null.
90 PASS [object MediaStream] is defined. 100 PASS [object MediaStream] is defined.
91 PASS newStream.constructor.name is 'MediaStream' 101 PASS newStream.constructor.name is 'MediaStream'
92 PASS newStream.getAudioTracks().length is nAudio 102 PASS newStream.getAudioTracks().length is nAudio
93 PASS newStream.getVideoTracks().length is nVideo 103 PASS newStream.getVideoTracks().length is nVideo
104 PASS newStream.active is false
94 PASS checkIdAttribute(newStream.id) is true 105 PASS checkIdAttribute(newStream.id) is true
95 PASS successfullyParsed is true 106 PASS successfullyParsed is true
96 107
97 TEST COMPLETE 108 TEST COMPLETE
98 109
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698