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(undefined); did not throw exception. | 7 PASS new webkitRTCPeerConnection(undefined); did not throw exception. |
8 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru
ct 'RTCPeerConnection': 1 argument required, but only 0 present.. | 8 PASS new webkitRTCPeerConnection(); threw exception TypeError: Failed to constru
ct 'RTCPeerConnection': 1 argument required, but only 0 present.. |
9 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const
ruct 'RTCPeerConnection': parameter 1 ('rtcConfiguration') is not an object.. | 9 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const
ruct 'RTCPeerConnection': parameter 1 ('rtcConfiguration') is not an object.. |
10 PASS new webkitRTCPeerConnection({iceServers:[]}); did not throw exception. | 10 PASS new webkitRTCPeerConnection({iceServers:[]}); did not throw exception. |
(...skipping 17 matching lines...) Expand all Loading... |
28 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}); di
d not throw exception. | 28 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}); di
d not throw exception. |
29 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'foo'}); threw exc
eption TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCBundlePo
licy. | 29 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'foo'}); threw exc
eption TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCBundlePo
licy. |
30 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'negotiate'}); di
d not throw exception. | 30 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'negotiate'}); di
d not throw exception. |
31 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'require'}); did
not throw exception. | 31 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'require'}); did
not throw exception. |
32 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'foo'}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCRtcpMux
Policy. | 32 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'foo'}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed RTCRtcpMux
Policy. |
33 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d
id not throw exception. | 33 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d
id not throw exception. |
34 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali
d_and_supported_2:1}}); did not throw exception. | 34 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali
d_and_supported_2:1}}); did not throw exception. |
35 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]});
did not throw exception. | 35 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]});
did not throw exception. |
36 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val
id_and_supported_2:0}]}); did not throw exception. | 36 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val
id_and_supported_2:0}]}); did not throw exception. |
37 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v
alid_but_unsupported_2:0}]}); did not throw exception. | 37 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v
alid_but_unsupported_2:0}]}); did not throw exception. |
38 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Fail
ed to initialize native PeerConnection.. | 38 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsa
tisfiable constraint valid_and_supported_1. |
39 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable const
raint invalid. | 39 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable const
raint invalid. |
40 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Uns
atisfiable constraint valid_but_unsupported_1. | 40 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Uns
atisfiable constraint valid_but_unsupported_1. |
41 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct
'RTCPeerConnection': Unsatisfiable constraint valid_but_unsupported_1. | 41 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception NotSupportedError: Failed to construct
'RTCPeerConnection': Unsatisfiable constraint valid_but_unsupported_1. |
42 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons
traints object.. | 42 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons
traints object.. |
43 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.. | 43 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.. |
44 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio
n NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initiali
ze native PeerConnection.. | 44 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw
exception. |
45 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti
on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj
ect.. | 45 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti
on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj
ect.. |
46 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep
tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o
bject.. | 46 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep
tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o
bject.. |
47 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.. | 47 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.. |
48 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); did not th
row exception. | 48 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); did not th
row exception. |
49 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro
w exception. | 49 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro
w exception. |
50 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R
TCCertificate>. | 50 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R
TCCertificate>. |
51 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R
TCCertificate>. | 51 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed sequence<R
TCCertificate>. |
52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null);
did not throw exception. | 52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null);
did not throw exception. |
53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null
); did not throw exception. | 53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null
); did not throw exception. |
54 PASS successfullyParsed is true | 54 PASS successfullyParsed is true |
55 | 55 |
56 TEST COMPLETE | 56 TEST COMPLETE |
57 | 57 |
OLD | NEW |