OLD | NEW |
1 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected | 1 CONSOLE WARNING: line 1: Unknown constraint named invalid rejected |
2 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed | 2 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed |
3 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed | 3 CONSOLE WARNING: line 1: Unknown constraint named valid_but_unsupported_1 reject
ed |
4 Tests the RTCPeerConnection constructor. | 4 Tests the RTCPeerConnection constructor. |
5 | 5 |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
7 | 7 |
8 | 8 |
9 PASS new webkitRTCPeerConnection(null); did not throw exception. | 9 PASS webkitRTCPeerConnection is RTCPeerConnection |
10 PASS new webkitRTCPeerConnection(undefined); did not throw exception. | 10 PASS new RTCPeerConnection(null); did not throw exception. |
11 PASS new webkitRTCPeerConnection({}); did not throw exception. | 11 PASS new RTCPeerConnection(undefined); did not throw exception. |
12 PASS new webkitRTCPeerConnection(); did not throw exception. | 12 PASS new RTCPeerConnection({}); did not throw exception. |
13 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Failed to const
ruct 'RTCPeerConnection': parameter 1 ('configuration') is not an object.. | 13 PASS new RTCPeerConnection(); did not throw exception. |
14 PASS new webkitRTCPeerConnection({iceServers:[]}); did not throw exception. | 14 PASS new RTCPeerConnection(''); threw exception TypeError: Failed to construct '
RTCPeerConnection': parameter 1 ('configuration') is not an object.. |
15 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not t
hrow exception. | 15 PASS new RTCPeerConnection({iceServers:[]}); did not throw exception. |
16 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'}]}); did not throw exception. | 16 PASS new RTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not throw e
xception. |
17 PASS new webkitRTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x
'},{url:'stun:bar.com'}]}); did not throw exception. | 17 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x'}]});
did not throw exception. |
18 PASS new webkitRTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not
throw exception. | 18 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x'},{ur
l:'stun:bar.com'}]}); did not throw exception. |
19 PASS new webkitRTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.c
om']}]}); did not throw exception. | 19 PASS new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw
exception. |
20 PASS new webkitRTCPeerConnection({fooServers:[]}); did not throw exception. | 20 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com']}]
}); did not throw exception. |
21 PASS new webkitRTCPeerConnection({iceServers:true}); threw exception TypeError:
Failed to construct 'RTCPeerConnection': The value provided is neither an array,
nor does it have indexed properties.. | 21 PASS new RTCPeerConnection({fooServers:[]}); did not throw exception. |
22 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeEr
ror: Failed to construct 'RTCPeerConnection': cannot convert to dictionary.. | 22 PASS new RTCPeerConnection({iceServers:true}); threw exception TypeError: Failed
to construct 'RTCPeerConnection': The value provided is neither an array, nor d
oes it have indexed properties.. |
23 PASS new webkitRTCPeerConnection({iceServers:[{}]}); threw exception TypeError:
Failed to construct 'RTCPeerConnection': Malformed RTCIceServer. | 23 PASS new RTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: F
ailed to construct 'RTCPeerConnection': cannot convert to dictionary.. |
24 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception Ty
peError: Failed to construct 'RTCPeerConnection': Malformed URL. | 24 PASS new RTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed
to construct 'RTCPeerConnection': Malformed RTCIceServer. |
25 PASS new webkitRTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); thr
ew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. | 25 PASS new RTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception TypeErro
r: Failed to construct 'RTCPeerConnection': Malformed URL. |
26 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'none'}); did not
throw exception. | 26 PASS new RTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); threw exc
eption TypeError: Failed to construct 'RTCPeerConnection': Malformed URL. |
27 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'relay'}); did no
t throw exception. | 27 PASS new RTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw
exception. |
28 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'all'}); did not
throw exception. | 28 PASS new RTCPeerConnection({iceServers:[], iceTransports:'relay'}); did not thro
w exception. |
29 PASS new webkitRTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': The provided value '
foo' is not a valid enum value of type RTCIceTransportPolicy.. | 29 PASS new RTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw
exception. |
30 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}); did
not throw exception. | 30 PASS new RTCPeerConnection({iceServers:[], iceTransports:'foo'}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': The provided value 'foo' i
s not a valid enum value of type RTCIceTransportPolicy.. |
31 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-bundle'}); di
d not throw exception. | 31 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'balanced'}); did not th
row exception. |
32 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}); di
d not throw exception. | 32 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'max-bundle'}); did not
throw exception. |
33 PASS new webkitRTCPeerConnection({iceServers:[], bundlePolicy:'foo'}); threw exc
eption TypeError: Failed to construct 'RTCPeerConnection': The provided value 'f
oo' is not a valid enum value of type RTCBundlePolicy.. | 33 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'max-compat'}); did not
throw exception. |
34 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'negotiate'}); di
d not throw exception. | 34 PASS new RTCPeerConnection({iceServers:[], bundlePolicy:'foo'}); threw exception
TypeError: Failed to construct 'RTCPeerConnection': The provided value 'foo' is
not a valid enum value of type RTCBundlePolicy.. |
35 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'require'}); did
not throw exception. | 35 PASS new RTCPeerConnection({iceServers:[], rtcpMuxPolicy:'negotiate'}); did not
throw exception. |
36 PASS new webkitRTCPeerConnection({iceServers:[], rtcpMuxPolicy:'foo'}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': The provided value '
foo' is not a valid enum value of type RTCRtcpMuxPolicy.. | 36 PASS new RTCPeerConnection({iceServers:[], rtcpMuxPolicy:'require'}); did not th
row exception. |
37 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d
id not throw exception. | 37 PASS new RTCPeerConnection({iceServers:[], rtcpMuxPolicy:'foo'}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': The provided value 'foo' i
s not a valid enum value of type RTCRtcpMuxPolicy.. |
38 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali
d_and_supported_2:1}}); did not throw exception. | 38 PASS new RTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); did not
throw exception. |
39 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]});
did not throw exception. | 39 PASS new RTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, valid_and_
supported_2:1}}); did not throw exception. |
40 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val
id_and_supported_2:0}]}); did not throw exception. | 40 PASS new RTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]}); did no
t throw exception. |
41 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v
alid_but_unsupported_2:0}]}); did not throw exception. | 41 PASS new RTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{valid_and
_supported_2:0}]}); did not throw exception. |
42 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsa
tisfiable constraint valid_and_supported_1. | 42 PASS new RTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{valid_b
ut_unsupported_2:0}]}); did not throw exception. |
43 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable const
raint invalid. | 43 PASS new RTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}}); threw
exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfia
ble constraint valid_and_supported_1. |
44 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception NotSupportedError: Failed to construct 'RTCPeerConnection': Uns
atisfiable constraint valid_but_unsupported_1. | 44 PASS new RTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception NotSu
pportedError: Failed to construct 'RTCPeerConnection': Unsatisfiable constraint
invalid. |
45 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. | 45 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}}); threw
exception NotSupportedError: Failed to construct 'RTCPeerConnection': Unsatisfi
able constraint valid_but_unsupported_1. |
46 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception TypeError: Failed to construct 'RTCPeerConnection': Malformed cons
traints object.. | 46 PASS new RTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, valid_an
d_supported_1:1}}); threw exception NotSupportedError: Failed to construct 'RTCP
eerConnection': Unsatisfiable constraint valid_but_unsupported_1. |
47 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.. | 47 PASS new RTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Malformed constraint
s object.. |
48 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw
exception. | 48 PASS new RTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid_and_s
upported_2:0}]}); threw exception TypeError: Failed to construct 'RTCPeerConnect
ion': Malformed constraints object.. |
49 PASS new webkitRTCPeerConnection(null, {valid_and_supported_1:1}); threw excepti
on TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints obj
ect.. | 49 PASS new RTCPeerConnection(null, {optional:[{invalid:0}]}); did not throw except
ion. |
50 PASS new webkitRTCPeerConnection(null, {valid_but_unsupported_1:1}); threw excep
tion TypeError: Failed to construct 'RTCPeerConnection': Malformed constraints o
bject.. | 50 PASS new RTCPeerConnection(null, {valid_and_supported_1:1}); threw exception Typ
eError: Failed to construct 'RTCPeerConnection': Malformed constraints object.. |
51 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.. | 51 PASS new RTCPeerConnection(null, {valid_but_unsupported_1:1}); threw exception T
ypeError: Failed to construct 'RTCPeerConnection': Malformed constraints object.
. |
52 PASS new webkitRTCPeerConnection({iceServers:[], certificates:null}); threw exce
ption TypeError: Failed to construct 'RTCPeerConnection': The value provided is
neither an array, nor does it have indexed properties.. | 52 PASS new RTCPeerConnection(null, {valid_and_supported_2:1, mandatory:{valid_and_
supported_1:1}}); threw exception TypeError: Failed to construct 'RTCPeerConnect
ion': Malformed constraints object.. |
53 PASS new webkitRTCPeerConnection({iceServers:[], certificates:undefined}); did n
ot throw exception. | 53 PASS new RTCPeerConnection({iceServers:[], certificates:null}); threw exception
TypeError: Failed to construct 'RTCPeerConnection': The value provided is neithe
r an array, nor does it have indexed properties.. |
54 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[]}); did not thro
w exception. | 54 PASS new RTCPeerConnection({iceServers:[], certificates:undefined}); did not thr
ow exception. |
55 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[null]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen
t type. | 55 PASS new RTCPeerConnection({iceServers:[], certificates:[]}); did not throw exce
ption. |
56 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[1337]}); threw ex
ception TypeError: Failed to construct 'RTCPeerConnection': Invalid Array elemen
t type. | 56 PASS new RTCPeerConnection({iceServers:[], certificates:[null]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. |
57 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certRSA]}, null);
did not throw exception. | 57 PASS new RTCPeerConnection({iceServers:[], certificates:[1337]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. |
58 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null
); did not throw exception. | 58 PASS new RTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did n
ot throw exception. |
| 59 PASS new RTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null); did
not throw exception. |
59 PASS certExpired.expires <= new Date().getTime() is true | 60 PASS certExpired.expires <= new Date().getTime() is true |
60 PASS new webkitRTCPeerConnection({iceServers:[], certificates:[certExpired]}, nu
ll); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnection'
: Expired certificate(s).. | 61 PASS new RTCPeerConnection({iceServers:[], certificates:[certExpired]}, null); t
hrew exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Expi
red certificate(s).. |
61 PASS successfullyParsed is true | 62 PASS successfullyParsed is true |
62 | 63 |
63 TEST COMPLETE | 64 TEST COMPLETE |
64 | 65 |
OLD | NEW |