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: Not enough argume
nts. | 10 PASS new webkitRTCPeerConnection(); threw exception TypeError: Not enough argume
nts. |
11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Not an object.. | 11 PASS new webkitRTCPeerConnection(''); threw exception TypeError: Not an object.. |
12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Not an ob
ject.. | 12 PASS new webkitRTCPeerConnection(null, ''); threw exception TypeError: Not an ob
ject.. |
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:[{uri:'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:[{uri:'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:[{uri:'turn:foo.com', credential:'x
'},{uri:'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({fooServers:[]}, null); threw exception Error:
TYPE_MISMATCH_ERR: DOM Exception 17. | 17 PASS new webkitRTCPeerConnection({fooServers:[]}, null); threw exception Error:
TYPE_MISMATCH_ERR: DOM Exception 17. |
18 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception Error
: TYPE_MISMATCH_ERR: DOM Exception 17. | 18 PASS new webkitRTCPeerConnection({iceServers:true}, null); threw exception Error
: TYPE_MISMATCH_ERR: DOM Exception 17. |
19 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception
Error: TYPE_MISMATCH_ERR: DOM Exception 17. | 19 PASS new webkitRTCPeerConnection({iceServers:[1, 2, 3]}, null); threw exception
Error: TYPE_MISMATCH_ERR: DOM Exception 17. |
20 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception Error
: TYPE_MISMATCH_ERR: DOM Exception 17. | 20 PASS new webkitRTCPeerConnection({iceServers:[{}]}, null); threw exception Error
: TYPE_MISMATCH_ERR: DOM Exception 17. |
21 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except
ion Error: TYPE_MISMATCH_ERR: DOM Exception 17. | 21 PASS new webkitRTCPeerConnection({iceServers:[{url:'foo'}]}, null); threw except
ion Error: TYPE_MISMATCH_ERR: DOM Exception 17. |
22 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d
id not throw exception. | 22 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1}}); d
id not throw exception. |
23 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali
d_and_supported_2:1}}); did not throw exception. | 23 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:1, vali
d_and_supported_2:1}}); did not throw exception. |
24 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]});
did not throw exception. | 24 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0}]});
did not throw exception. |
25 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val
id_and_supported_2:0}]}); did not throw exception. | 25 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0},{val
id_and_supported_2:0}]}); did not throw exception. |
26 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v
alid_but_unsupported_2:0}]}); did not throw exception. | 26 PASS new webkitRTCPeerConnection(null, {optional:[{valid_but_unsupported_1:0},{v
alid_but_unsupported_2:0}]}); did not throw exception. |
27 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9. | 27 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_and_supported_1:66}});
threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9. |
28 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
Error: NOT_SUPPORTED_ERR: DOM Exception 9. | 28 PASS new webkitRTCPeerConnection(null, {mandatory:{invalid:1}}); threw exception
Error: NOT_SUPPORTED_ERR: DOM Exception 9. |
29 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9. | 29 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1}});
threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9. |
30 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception Error: NOT_SUPPORTED_ERR: DOM Exceptio
n 9. | 30 PASS new webkitRTCPeerConnection(null, {mandatory:{valid_but_unsupported_1:1, va
lid_and_supported_1:1}}); threw exception Error: NOT_SUPPORTED_ERR: DOM Exceptio
n 9. |
31 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception Error: TYPE_MISMATCH_ERR: DOM Exception 17. | 31 PASS new webkitRTCPeerConnection(null, {optional:{valid_and_supported_1:0}}); th
rew exception Error: TYPE_MISMATCH_ERR: DOM Exception 17. |
32 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid
_and_supported_2:0}]}); threw exception Error: TYPE_MISMATCH_ERR: DOM Exception
17. | 32 PASS new webkitRTCPeerConnection(null, {optional:[{valid_and_supported_1:0,valid
_and_supported_2:0}]}); threw exception Error: TYPE_MISMATCH_ERR: DOM Exception
17. |
33 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio
n Error: NOT_SUPPORTED_ERR: DOM Exception 9. | 33 PASS new webkitRTCPeerConnection(null, {optional:[{invalid:0}]}); threw exceptio
n Error: NOT_SUPPORTED_ERR: DOM Exception 9. |
34 PASS successfullyParsed is true | 34 PASS successfullyParsed is true |
35 | 35 |
36 TEST COMPLETE | 36 TEST COMPLETE |
37 | 37 |
OLD | NEW |