| 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 webkitRTCPeerConnection is RTCPeerConnection | 9 PASS webkitRTCPeerConnection is RTCPeerConnection |
| 10 PASS new RTCPeerConnection(null); did not throw exception. | 10 PASS new RTCPeerConnection(null); did not throw exception. |
| 11 PASS new RTCPeerConnection(undefined); did not throw exception. | 11 PASS new RTCPeerConnection(undefined); did not throw exception. |
| 12 PASS new RTCPeerConnection({}); did not throw exception. | 12 PASS new RTCPeerConnection({}); did not throw exception. |
| 13 PASS new RTCPeerConnection(); did not throw exception. | 13 PASS new RTCPeerConnection(); did not throw exception. |
| 14 PASS new RTCPeerConnection(''); threw exception TypeError: Failed to construct '
RTCPeerConnection': parameter 1 ('configuration') is not an object.. | 14 PASS new RTCPeerConnection(''); threw exception TypeError: Failed to construct '
RTCPeerConnection': parameter 1 ('configuration') is not an object.. |
| 15 PASS new RTCPeerConnection({iceServers:[]}); did not throw exception. | 15 PASS new RTCPeerConnection({iceServers:[]}); did not throw exception. |
| 16 PASS new RTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not throw e
xception. | 16 PASS new RTCPeerConnection({iceServers:[{url:'stun:foo.com'}]}); did not throw e
xception. |
| 17 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x'}]});
did not throw exception. | 17 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede
ntial:'x'}]}); did not throw exception. |
| 18 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', credential:'x'},{ur
l:'stun:bar.com'}]}); did not throw exception. | 18 PASS new RTCPeerConnection({iceServers:[{url:'turn:foo.com', username:'x', crede
ntial:'x'},{url:'stun:bar.com'}]}); did not throw exception. |
| 19 PASS new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw
exception. | 19 PASS new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw
exception. |
| 20 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com']}]
}); did not throw exception. | 20 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com'],
username:'x', credential:'x'}]}); did not throw exception. |
| 21 PASS new RTCPeerConnection({iceServers:[{urls:['stun:foo.com', 'turn:foo.com']}]
}); threw exception InvalidAccessError: Failed to construct 'RTCPeerConnection':
Both username and credential are required when the URL scheme is "turn" or "tur
ns".. |
| 21 PASS new RTCPeerConnection({fooServers:[]}); did not throw exception. | 22 PASS new RTCPeerConnection({fooServers:[]}); did not throw exception. |
| 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 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 RTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: F
ailed to construct 'RTCPeerConnection': cannot convert to dictionary.. | 24 PASS new RTCPeerConnection({iceServers:[1, 2, 3]}); threw exception TypeError: F
ailed to construct 'RTCPeerConnection': cannot convert to dictionary.. |
| 24 PASS new RTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed
to construct 'RTCPeerConnection': Malformed RTCIceServer. | 25 PASS new RTCPeerConnection({iceServers:[{}]}); threw exception TypeError: Failed
to construct 'RTCPeerConnection': Malformed RTCIceServer. |
| 25 PASS new RTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception SyntaxEr
ror: Failed to construct 'RTCPeerConnection': 'foo' is not a valid URL.. | 26 PASS new RTCPeerConnection({iceServers:[{url:'foo'}]}); threw exception SyntaxEr
ror: Failed to construct 'RTCPeerConnection': 'foo' is not a valid URL.. |
| 26 PASS new RTCPeerConnection({iceServers:[{urls:'unsupported:scheme'}]}); threw ex
ception SyntaxError: Failed to construct 'RTCPeerConnection': 'unsupported' is n
ot one of the supported URL schemes 'stun', 'turn' or 'turns'.. | 27 PASS new RTCPeerConnection({iceServers:[{urls:'unsupported:scheme'}]}); threw ex
ception SyntaxError: Failed to construct 'RTCPeerConnection': 'unsupported' is n
ot one of the supported URL schemes 'stun', 'turn' or 'turns'.. |
| 27 PASS new RTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); threw exc
eption SyntaxError: Failed to construct 'RTCPeerConnection': '1' is not a valid
URL.. | 28 PASS new RTCPeerConnection({iceServers:[{urls:[1, 'turn:foo.com']}]}); threw exc
eption SyntaxError: Failed to construct 'RTCPeerConnection': '1' is not a valid
URL.. |
| 28 PASS new RTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw
exception. | 29 PASS new RTCPeerConnection({iceServers:[], iceTransports:'none'}); did not throw
exception. |
| 29 PASS new RTCPeerConnection({iceServers:[], iceTransports:'relay'}); did not thro
w exception. | 30 PASS new RTCPeerConnection({iceServers:[], iceTransports:'relay'}); did not thro
w exception. |
| 30 PASS new RTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw
exception. | 31 PASS new RTCPeerConnection({iceServers:[], iceTransports:'all'}); did not throw
exception. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 57 PASS new RTCPeerConnection({iceServers:[], certificates:[null]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. | 58 PASS new RTCPeerConnection({iceServers:[], certificates:[null]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. |
| 58 PASS new RTCPeerConnection({iceServers:[], certificates:[1337]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. | 59 PASS new RTCPeerConnection({iceServers:[], certificates:[1337]}); threw exceptio
n TypeError: Failed to construct 'RTCPeerConnection': Invalid Array element type
. |
| 59 PASS new RTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did n
ot throw exception. | 60 PASS new RTCPeerConnection({iceServers:[], certificates:[certRSA]}, null); did n
ot throw exception. |
| 60 PASS new RTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null); did
not throw exception. | 61 PASS new RTCPeerConnection({iceServers:[], certificates:[certECDSA]}, null); did
not throw exception. |
| 61 PASS certExpired.expires <= new Date().getTime() is true | 62 PASS certExpired.expires <= new Date().getTime() is true |
| 62 PASS new RTCPeerConnection({iceServers:[], certificates:[certExpired]}, null); t
hrew exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Expi
red certificate(s).. | 63 PASS new RTCPeerConnection({iceServers:[], certificates:[certExpired]}, null); t
hrew exception InvalidAccessError: Failed to construct 'RTCPeerConnection': Expi
red certificate(s).. |
| 63 PASS successfullyParsed is true | 64 PASS successfullyParsed is true |
| 64 | 65 |
| 65 TEST COMPLETE | 66 TEST COMPLETE |
| 66 | 67 |
| OLD | NEW |