OLD | NEW |
1 Tests the RTCPeerConnection constructor. | 1 Tests the RTCPeerConnection 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 new webkitRTCPeerConnection(null); did not throw exception. | 6 PASS new webkitRTCPeerConnection(null); did not throw exception. |
7 PASS new webkitRTCPeerConnection(null, null); did not throw exception. | 7 PASS new webkitRTCPeerConnection(null, null); did not throw exception. |
8 PASS new webkitRTCPeerConnection(undefined); did not throw exception. | 8 PASS new webkitRTCPeerConnection(undefined); did not throw exception. |
9 PASS new webkitRTCPeerConnection(undefined, undefined); did not throw exception. | 9 PASS new webkitRTCPeerConnection(undefined, undefined); did not throw exception. |
10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru
ct 'RTCPeerConnection': 1 argument required, but only 0 present.. | 10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru
ct 'RTCPeerConnection': 1 argument required, but only 0 present.. |
11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const
ruct 'RTCPeerConnection': parameter 1 ('rtcConfiguration') is not an object.. | 11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const
ruct 'RTCPeerConnection': parameter 1 ('rtcConfiguration') is not an object.. |
12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Failed to
construct 'RTCPeerConnection': parameter 2 ('mediaConstraints') is not an objec
t.. | 12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Failed to
construct 'RTCPeerConnection': parameter 2 ('mediaConstraints') is not an objec
t.. |
13 PASS new webkitRTCPeerConnection({iceServers:[]}, null); did not throw exception
. | 13 PASS new webkitRTCPeerConnection({iceServers:[]}, null); did not throw exception
. |
14 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}, null); did
not throw exception. | 14 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}, null); did
not throw exception. |
15 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'}]}, null); did not throw exception. | 15 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'}]}, null); did not throw exception. |
16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'},{url:'stun:bar.com'}]}, null); did not throw exception. | 16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'},{url:'stun:bar.com'}]}, null); did not throw exception. |
17 PASS new webkitRTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}, null); di
d not throw exception. | 17 PASS new webkitRTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}, null); di
d not throw exception. |
18 PASS new webkitRTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.c
om']}]}, null); did not throw exception. | 18 PASS new webkitRTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.c
om']}]}, null); did not throw exception. |
19 PASS new webkitRTCPeerConnection({iceServers:undefined}, null); did not throw ex
ception. | 19 PASS new webkitRTCPeerConnection({fooServers:[]}, null); threw exception TypeErr
or: Failed to construct 'RTCPeerConnection': Malformed RTCConfiguration. |
20 PASS new webkitRTCPeerConnection({}, null); did not throw exception. | |
21 PASS new webkitRTCPeerConnection({iceServers:null}, null); threw exception TypeE
rror: Failed to construct 'RTCPeerConnection': Malformed RTCConfiguration. | |
22 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception TypeE
rror: Failed to construct 'RTCPeerConnection': Malformed RTCConfiguration. | 20 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception TypeE
rror: Failed to construct 'RTCPeerConnection': Malformed RTCConfiguration. |
23 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception
TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. | 21 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception
TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. |
24 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception TypeE
rror: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. | 22 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception TypeE
rror: Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. |
25 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except
ion TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. | 23 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except
ion TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. |
26 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}, null
); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed
URL. | 24 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}, null
); threw exception TypeError: Failed to construct 'RTCPeerConnection': Malformed
URL. |
27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}, null); d
id not throw exception. | 25 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}, null); d
id not throw exception. |
28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}, null);
did not throw exception. | 26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}, null);
did not throw exception. |
29 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}, null); di
d not throw exception. | 27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}, null); di
d not throw exception. |
30 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}, null); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCI
ceTransports. | 28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}, null); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCI
ceTransports. |
31 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}, null)
; did not throw exception. | 29 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}, null)
; did not throw exception. |
(...skipping 11 matching lines...) Expand all Loading... |
43 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fail
ed to initialize native PeerConnection.. | 41 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fail
ed to initialize native PeerConnection.. |
44 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initializ
e native PeerConnection.. | 42 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initializ
e native PeerConnection.. |
45 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fai
led to initialize native PeerConnection.. | 43 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fai
led to initialize native PeerConnection.. |
46 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct
'RTCPeerConnection': Failed to initialize native PeerConnection.. | 44 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct
'RTCPeerConnection': Failed to initialize native PeerConnection.. |
47 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons
traints object.. | 45 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons
traints object.. |
48 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid
_and_supported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerC
onnection': Malformed constraints object.. | 46 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid
_and_supported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerC
onnection': Malformed constraints object.. |
49 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio
n NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initiali
ze native PeerConnection.. | 47 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio
n NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initiali
ze native PeerConnection.. |
50 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti
on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj
ect.. | 48 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti
on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj
ect.. |
51 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep
tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o
bject.. | 49 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep
tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o
bject.. |
52 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali
d_and_supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerC
onnection': Malformed constraints object.. | 50 PASS new webkitRTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{vali
d_and_supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerC
onnection': Malformed constraints object.. |
53 PASS new webkitRTCPeerConnection({certificates:null}, null); did not throw excep
tion. | 51 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}, null); did
not throw exception. |
54 PASS new webkitRTCPeerConnection({certificates:[]}, null); did not throw excepti
on. | 52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}, null); did no
t throw exception. |
55 PASS new webkitRTCPeerConnection({certificates:[null]}, null); threw exception T
ypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<RTCCertifi
cate>. | 53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}, null); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequ
ence<RTCCertificate>. |
56 PASS new webkitRTCPeerConnection({certificates:[1337]}, null); threw exception T
ypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<RTCCertifi
cate>. | 54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}, null); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequ
ence<RTCCertificate>. |
57 PASS new webkitRTCPeerConnection({certificates:[certRSA]}, null); did not throw
exception. | 55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null);
did not throw exception. |
58 PASS new webkitRTCPeerConnection({certificates:[certECDSA]}, null); did not thro
w exception. | 56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null
); did not throw exception. |
59 PASS successfullyParsed is true | 57 PASS successfullyParsed is true |
60 | 58 |
61 TEST COMPLETE | 59 TEST COMPLETE |
62 | 60 |
OLD | NEW |