Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt

Issue 1661493002: Add promise-based addIceCandidate, setLocalDescription and setRemoteDescription to RTCPeerConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yhirano's comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698