OLD | NEW |
1 Tests webkitMediaStream. | 1 Tests MediaStream constructor. |
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 Interface tests. |
| 7 PASS typeof MediaStream is 'function' |
| 8 PASS MediaStream.length is 0 |
| 9 PASS MediaStream.name is 'MediaStream' |
| 10 PASS Object.getPrototypeOf(MediaStream.prototype) is EventTarget.prototype |
| 11 PASS window.MediaStream is window.webkitMediaStream |
| 12 Got local stream. |
7 PASS localStream.getAudioTracks().length is 1 | 13 PASS localStream.getAudioTracks().length is 1 |
8 PASS localStream.getVideoTracks().length is 1 | 14 PASS localStream.getVideoTracks().length is 1 |
9 PASS typeof webkitMediaStream === 'function' is true | |
10 PASS checkIdAttribute(localStream.id) is true | 15 PASS checkIdAttribute(localStream.id) is true |
11 PASS new webkitMediaStream(document) threw exception TypeError: Failed to constr
uct 'MediaStream': No matching constructor signature.. | 16 PASS new MediaStream(document) threw exception TypeError: Failed to construct 'M
ediaStream': No matching constructor signature.. |
12 PASS new webkitMediaStream([document]) threw exception TypeError: Failed to cons
truct 'MediaStream': Invalid Array element type. | 17 PASS new MediaStream([document]) threw exception 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. | 18 PASS new MediaStream([stream.getAudioTracks()[0], document]) threw exception Typ
eError: 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. | 19 PASS new MediaStream([null]) threw exception TypeError: Failed to construct 'Med
iaStream': Invalid Array element type. |
15 PASS new webkitMediaStream([undefined]) threw exception TypeError: Failed to con
struct 'MediaStream': Invalid Array element type. | 20 PASS new MediaStream([undefined]) threw exception TypeError: Failed to construct
'MediaStream': Invalid Array element type. |
16 PASS new webkitMediaStream(null) threw exception TypeError: Failed to construct
'MediaStream': No matching constructor signature.. | 21 PASS new MediaStream(null) threw exception TypeError: Failed to construct 'Media
Stream': No matching constructor signature.. |
17 PASS new webkitMediaStream(undefined) threw exception TypeError: Failed to const
ruct 'MediaStream': No matching constructor signature.. | 22 PASS new MediaStream(undefined) threw exception TypeError: Failed to construct '
MediaStream': No matching constructor signature.. |
18 PASS Stream constructed | 23 Stream constructed |
19 PASS [object MediaStream] is non-null. | 24 PASS [object MediaStream] is non-null. |
20 PASS [object MediaStream] is defined. | 25 PASS [object MediaStream] is defined. |
21 PASS newStream.constructor.name is 'MediaStream' | 26 PASS newStream.constructor.name is 'MediaStream' |
22 PASS newStream.getAudioTracks().length is nAudio | 27 PASS newStream.getAudioTracks().length is nAudio |
23 PASS newStream.getVideoTracks().length is nVideo | 28 PASS newStream.getVideoTracks().length is nVideo |
24 PASS newStream.active is false | 29 PASS newStream.active is false |
25 PASS checkIdAttribute(newStream.id) is true | 30 PASS checkIdAttribute(newStream.id) is true |
26 PASS Stream constructed | 31 Stream constructed |
27 PASS [object MediaStream] is non-null. | 32 PASS [object MediaStream] is non-null. |
28 PASS [object MediaStream] is defined. | 33 PASS [object MediaStream] is defined. |
29 PASS newStream.constructor.name is 'MediaStream' | 34 PASS newStream.constructor.name is 'MediaStream' |
30 PASS newStream.getAudioTracks().length is nAudio | 35 PASS newStream.getAudioTracks().length is nAudio |
31 PASS newStream.getVideoTracks().length is nVideo | 36 PASS newStream.getVideoTracks().length is nVideo |
32 PASS newStream.active is false | 37 PASS newStream.active is false |
33 PASS checkIdAttribute(newStream.id) is true | 38 PASS checkIdAttribute(newStream.id) is true |
34 PASS Stream constructed | 39 Stream constructed |
35 PASS [object MediaStream] is non-null. | 40 PASS [object MediaStream] is non-null. |
36 PASS [object MediaStream] is defined. | 41 PASS [object MediaStream] is defined. |
37 PASS newStream.constructor.name is 'MediaStream' | 42 PASS newStream.constructor.name is 'MediaStream' |
38 PASS newStream.getAudioTracks().length is nAudio | 43 PASS newStream.getAudioTracks().length is nAudio |
39 PASS newStream.getVideoTracks().length is nVideo | 44 PASS newStream.getVideoTracks().length is nVideo |
40 PASS newStream.active is true | 45 PASS newStream.active is true |
41 PASS checkIdAttribute(newStream.id) is true | 46 PASS checkIdAttribute(newStream.id) is true |
42 PASS Stream constructed | 47 Stream constructed |
43 PASS [object MediaStream] is non-null. | 48 PASS [object MediaStream] is non-null. |
44 PASS [object MediaStream] is defined. | 49 PASS [object MediaStream] is defined. |
45 PASS newStream.constructor.name is 'MediaStream' | 50 PASS newStream.constructor.name is 'MediaStream' |
46 PASS newStream.getAudioTracks().length is nAudio | 51 PASS newStream.getAudioTracks().length is nAudio |
47 PASS newStream.getVideoTracks().length is nVideo | 52 PASS newStream.getVideoTracks().length is nVideo |
48 PASS newStream.active is true | 53 PASS newStream.active is true |
49 PASS checkIdAttribute(newStream.id) is true | 54 PASS checkIdAttribute(newStream.id) is true |
50 PASS Stream constructed | 55 Stream constructed |
51 PASS [object MediaStream] is non-null. | 56 PASS [object MediaStream] is non-null. |
52 PASS [object MediaStream] is defined. | 57 PASS [object MediaStream] is defined. |
53 PASS newStream.constructor.name is 'MediaStream' | 58 PASS newStream.constructor.name is 'MediaStream' |
54 PASS newStream.getAudioTracks().length is nAudio | 59 PASS newStream.getAudioTracks().length is nAudio |
55 PASS newStream.getVideoTracks().length is nVideo | 60 PASS newStream.getVideoTracks().length is nVideo |
56 PASS newStream.active is true | 61 PASS newStream.active is true |
57 PASS checkIdAttribute(newStream.id) is true | 62 PASS checkIdAttribute(newStream.id) is true |
58 PASS Stream constructed | 63 Stream constructed |
59 PASS [object MediaStream] is non-null. | 64 PASS [object MediaStream] is non-null. |
60 PASS [object MediaStream] is defined. | 65 PASS [object MediaStream] is defined. |
61 PASS newStream.constructor.name is 'MediaStream' | 66 PASS newStream.constructor.name is 'MediaStream' |
62 PASS newStream.getAudioTracks().length is nAudio | 67 PASS newStream.getAudioTracks().length is nAudio |
63 PASS newStream.getVideoTracks().length is nVideo | 68 PASS newStream.getVideoTracks().length is nVideo |
64 PASS newStream.active is true | 69 PASS newStream.active is true |
65 PASS checkIdAttribute(newStream.id) is true | 70 PASS checkIdAttribute(newStream.id) is true |
66 PASS Stream constructed | 71 Stream constructed |
67 PASS [object MediaStream] is non-null. | 72 PASS [object MediaStream] is non-null. |
68 PASS [object MediaStream] is defined. | 73 PASS [object MediaStream] is defined. |
69 PASS newStream.constructor.name is 'MediaStream' | 74 PASS newStream.constructor.name is 'MediaStream' |
70 PASS newStream.getAudioTracks().length is nAudio | 75 PASS newStream.getAudioTracks().length is nAudio |
71 PASS newStream.getVideoTracks().length is nVideo | 76 PASS newStream.getVideoTracks().length is nVideo |
72 PASS newStream.active is true | 77 PASS newStream.active is true |
73 PASS checkIdAttribute(newStream.id) is true | 78 PASS checkIdAttribute(newStream.id) is true |
74 PASS Stream constructed | 79 Stream constructed |
75 PASS [object MediaStream] is non-null. | 80 PASS [object MediaStream] is non-null. |
76 PASS [object MediaStream] is defined. | 81 PASS [object MediaStream] is defined. |
77 PASS newStream.constructor.name is 'MediaStream' | 82 PASS newStream.constructor.name is 'MediaStream' |
78 PASS newStream.getAudioTracks().length is nAudio | 83 PASS newStream.getAudioTracks().length is nAudio |
79 PASS newStream.getVideoTracks().length is nVideo | 84 PASS newStream.getVideoTracks().length is nVideo |
80 PASS newStream.active is false | 85 PASS newStream.active is false |
81 PASS checkIdAttribute(newStream.id) is true | 86 PASS checkIdAttribute(newStream.id) is true |
82 PASS Stream constructed | 87 Stream constructed |
83 PASS [object MediaStream] is non-null. | 88 PASS [object MediaStream] is non-null. |
84 PASS [object MediaStream] is defined. | 89 PASS [object MediaStream] is defined. |
85 PASS newStream.constructor.name is 'MediaStream' | 90 PASS newStream.constructor.name is 'MediaStream' |
86 PASS newStream.getAudioTracks().length is nAudio | 91 PASS newStream.getAudioTracks().length is nAudio |
87 PASS newStream.getVideoTracks().length is nVideo | 92 PASS newStream.getVideoTracks().length is nVideo |
88 PASS newStream.active is false | 93 PASS newStream.active is false |
89 PASS checkIdAttribute(newStream.id) is true | 94 PASS checkIdAttribute(newStream.id) is true |
90 PASS Stream constructed | 95 Stream constructed |
91 PASS [object MediaStream] is non-null. | 96 PASS [object MediaStream] is non-null. |
92 PASS [object MediaStream] is defined. | 97 PASS [object MediaStream] is defined. |
93 PASS newStream.constructor.name is 'MediaStream' | 98 PASS newStream.constructor.name is 'MediaStream' |
94 PASS newStream.getAudioTracks().length is nAudio | 99 PASS newStream.getAudioTracks().length is nAudio |
95 PASS newStream.getVideoTracks().length is nVideo | 100 PASS newStream.getVideoTracks().length is nVideo |
96 PASS newStream.active is false | 101 PASS newStream.active is false |
97 PASS checkIdAttribute(newStream.id) is true | 102 PASS checkIdAttribute(newStream.id) is true |
98 PASS Stream constructed | 103 Stream constructed |
99 PASS [object MediaStream] is non-null. | 104 PASS [object MediaStream] is non-null. |
100 PASS [object MediaStream] is defined. | 105 PASS [object MediaStream] is defined. |
101 PASS newStream.constructor.name is 'MediaStream' | 106 PASS newStream.constructor.name is 'MediaStream' |
102 PASS newStream.getAudioTracks().length is nAudio | 107 PASS newStream.getAudioTracks().length is nAudio |
103 PASS newStream.getVideoTracks().length is nVideo | 108 PASS newStream.getVideoTracks().length is nVideo |
104 PASS newStream.active is false | 109 PASS newStream.active is false |
105 PASS checkIdAttribute(newStream.id) is true | 110 PASS checkIdAttribute(newStream.id) is true |
106 PASS successfullyParsed is true | 111 PASS successfullyParsed is true |
107 | 112 |
108 TEST COMPLETE | 113 TEST COMPLETE |
109 | 114 |
OLD | NEW |