| OLD | NEW |
| 1 Tests the JSEP PeerConnection related constructors. | 1 Tests the JSEP PeerConnection related constructors. |
| 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 typeof webkitRTCPeerConnection === 'function' is true | 6 PASS typeof webkitRTCPeerConnection === 'function' is true |
| 7 PASS typeof RTCSessionDescription === 'function' is true | 7 PASS typeof RTCSessionDescription === 'function' is true |
| 8 PASS typeof RTCIceCandidate === 'function' is true | 8 PASS typeof RTCIceCandidate === 'function' is true |
| 9 PASS webkitRTCPeerConnection() threw exception TypeError: DOM object constructor
cannot be called as a function.. | 9 PASS webkitRTCPeerConnection() threw exception TypeError: Failed to construct 'R
TCPeerConnection': Please use the 'new' operator, this DOM object constructor ca
nnot be called as a function.. |
| 10 PASS RTCSessionDescription() threw exception TypeError: DOM object constructor c
annot be called as a function.. | 10 PASS RTCSessionDescription() threw exception TypeError: Failed to construct 'RTC
SessionDescription': Please use the 'new' operator, this DOM object constructor
cannot be called as a function.. |
| 11 PASS RTCIceCandidate() threw exception TypeError: DOM object constructor cannot
be called as a function.. | 11 PASS RTCIceCandidate() threw exception TypeError: Failed to construct 'RTCIceCan
didate': Please use the 'new' operator, this DOM object constructor cannot be ca
lled as a function.. |
| 12 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]},
null); did not throw exception. | 12 PASS new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]},
null); did not throw exception. |
| 13 PASS new RTCSessionDescription({type:'offer',sdp:'foobar'}); did not throw excep
tion. | 13 PASS new RTCSessionDescription({type:'offer',sdp:'foobar'}); did not throw excep
tion. |
| 14 PASS new RTCIceCandidate({candidate:'foo'}); did not throw exception. | 14 PASS new RTCIceCandidate({candidate:'foo'}); did not throw exception. |
| 15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 16 | 16 |
| 17 TEST COMPLETE | 17 TEST COMPLETE |
| 18 | 18 |
| OLD | NEW |