OLD | NEW |
1 Tests the RTCPeerConnection Ice functionality. | 1 Tests the RTCPeerConnection Ice functionality. |
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 pc = new webkitRTCPeerConnection(null, null); did not throw exception. | 6 PASS pc = new webkitRTCPeerConnection(null, null); did not throw exception. |
7 PASS iceConnectionState is completed | 7 PASS iceConnectionState is completed |
8 PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure); t
hrew exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnect
ion': parameter 1 is not of type 'RTCIceCandidate'.. | 8 PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure).ca
tch(expectedTypeError); did not throw exception. |
9 PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure); threw excep
tion TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The
callback provided as parameter 2 is not a function.. | 9 PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure).catch(expect
edTypeError); did not throw exception. |
10 PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null); threw excep
tion TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The
callback provided as parameter 3 is not a function.. | 10 PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null).catch(expect
edTypeError); did not throw exception. |
11 PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFai
lure); did not throw exception. | 11 PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFai
lure); did not throw exception. |
| 12 PASS TypeError is TypeError |
| 13 PASS expectedTypeError was called. |
| 14 PASS TypeError is TypeError |
| 15 PASS expectedTypeError was called. |
| 16 PASS TypeError is TypeError |
| 17 PASS expectedTypeError was called. |
12 PASS addIceCandidateSuccess was called. | 18 PASS addIceCandidateSuccess was called. |
13 PASS iceConnectionState is closed. | 19 PASS iceConnectionState is closed. |
14 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
15 | 21 |
16 TEST COMPLETE | 22 TEST COMPLETE |
17 | 23 |
OLD | NEW |