1 CONSOLE WARNING: 'MediaStream.stop()' is deprecated and will be removed in M47, around November 2015. Please use 'MediaStream.active' instead.
2 Tests webkitMediaStream.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS localStream.getAudioTracks().length is 1
9 PASS localStream.getVideoTracks().length is 1
10 PASS typeof webkitMediaStream === 'function' is true
11 PASS checkIdAttribute(localStream.id) is true
12 PASS new webkitMediaStream(document) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
13 PASS new webkitMediaStream([document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
14 PASS new webkitMediaStream([stream.getAudioTracks()[0], document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
15 PASS new webkitMediaStream([null]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
16 PASS new webkitMediaStream([undefined]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
17 PASS new webkitMediaStream(null) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
18 PASS new webkitMediaStream(undefined) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
19 PASS Stream constructed
20 PASS [object MediaStream] is non-null.
21 PASS [object MediaStream] is defined.
22 PASS newStream.constructor.name is 'MediaStream'
23 PASS newStream.getAudioTracks().length is nAudio
24 PASS newStream.getVideoTracks().length is nVideo
25 PASS newStream.active is false
26 PASS checkIdAttribute(newStream.id) is true
27 PASS Stream constructed
28 PASS [object MediaStream] is non-null.
29 PASS [object MediaStream] is defined.
30 PASS newStream.constructor.name is 'MediaStream'
31 PASS newStream.getAudioTracks().length is nAudio
32 PASS newStream.getVideoTracks().length is nVideo
33 PASS newStream.active is false
34 PASS checkIdAttribute(newStream.id) is true
35 PASS Stream constructed
36 PASS [object MediaStream] is non-null.
37 PASS [object MediaStream] is defined.
38 PASS newStream.constructor.name is 'MediaStream'
39 PASS newStream.getAudioTracks().length is nAudio
40 PASS newStream.getVideoTracks().length is nVideo
41 PASS newStream.active is true
42 PASS checkIdAttribute(newStream.id) is true
43 PASS Stream constructed
44 PASS [object MediaStream] is non-null.
45 PASS [object MediaStream] is defined.
46 PASS newStream.constructor.name is 'MediaStream'
47 PASS newStream.getAudioTracks().length is nAudio
48 PASS newStream.getVideoTracks().length is nVideo
49 PASS newStream.active is true
50 PASS checkIdAttribute(newStream.id) is true
51 PASS Stream constructed
52 PASS [object MediaStream] is non-null.
53 PASS [object MediaStream] is defined.
54 PASS newStream.constructor.name is 'MediaStream'
55 PASS newStream.getAudioTracks().length is nAudio
56 PASS newStream.getVideoTracks().length is nVideo
57 PASS newStream.active is true
58 PASS checkIdAttribute(newStream.id) is true
59 PASS Stream constructed
60 PASS [object MediaStream] is non-null.
61 PASS [object MediaStream] is defined.
62 PASS newStream.constructor.name is 'MediaStream'
63 PASS newStream.getAudioTracks().length is nAudio
64 PASS newStream.getVideoTracks().length is nVideo
65 PASS newStream.active is true
66 PASS checkIdAttribute(newStream.id) is true
67 PASS Stream constructed
68 PASS [object MediaStream] is non-null.
69 PASS [object MediaStream] is defined.
70 PASS newStream.constructor.name is 'MediaStream'
71 PASS newStream.getAudioTracks().length is nAudio
72 PASS newStream.getVideoTracks().length is nVideo
73 PASS newStream.active is true
74 PASS checkIdAttribute(newStream.id) is true
75 PASS Stream constructed
76 PASS [object MediaStream] is non-null.
77 PASS [object MediaStream] is defined.
78 PASS newStream.constructor.name is 'MediaStream'
79 PASS newStream.getAudioTracks().length is nAudio
80 PASS newStream.getVideoTracks().length is nVideo
81 PASS newStream.active is false
82 PASS checkIdAttribute(newStream.id) is true
83 PASS Stream constructed
84 PASS [object MediaStream] is non-null.
85 PASS [object MediaStream] is defined.
86 PASS newStream.constructor.name is 'MediaStream'
87 PASS newStream.getAudioTracks().length is nAudio
88 PASS newStream.getVideoTracks().length is nVideo
89 PASS newStream.active is false
90 PASS checkIdAttribute(newStream.id) is true
91 PASS Stream constructed
92 PASS [object MediaStream] is non-null.
93 PASS [object MediaStream] is defined.
94 PASS newStream.constructor.name is 'MediaStream'
95 PASS newStream.getAudioTracks().length is nAudio
96 PASS newStream.getVideoTracks().length is nVideo
97 PASS newStream.active is false
98 PASS checkIdAttribute(newStream.id) is true
99 PASS Stream constructed
100 PASS [object MediaStream] is non-null.
101 PASS [object MediaStream] is defined.
102 PASS newStream.constructor.name is 'MediaStream'
103 PASS newStream.getAudioTracks().length is nAudio
104 PASS newStream.getVideoTracks().length is nVideo
105 PASS newStream.active is false
106 PASS checkIdAttribute(newStream.id) is true
107 PASS successfullyParsed is true