| Tests the RTCPeerConnection Ice functionality. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS pc = new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception. |
| PASS iceConnectionState is completed |
| PASS pc.addIceCandidate(null, null, null); threw exception TypeError: Argument 2 ('successCallback') to RTCPeerConnection.addIceCandidate must be a function. |
| PASS pc.addIceCandidate(iceCandidate, null, null); threw exception TypeError: Argument 2 ('successCallback') to RTCPeerConnection.addIceCandidate must be a function. |
| PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null); threw exception TypeError: Argument 3 ('failureCallback') to RTCPeerConnection.addIceCandidate must be a function. |
| PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure); did not throw exception. |
| PASS addIceCandidateSuccess was called. |
| PASS iceConnectionState is closed. |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |