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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
index c8ab6b1425b4e48deed5c564593727ee35bbf0ac..b43adc6e7bcc5036be91cae5bf115ce642d153b9 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
@@ -5,10 +5,16 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS pc = new webkitRTCPeerConnection(null, null); did not throw exception.
PASS iceConnectionState is completed
-PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': parameter 1 is not of type 'RTCIceCandidate'..
-PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The callback provided as parameter 2 is not a function..
-PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The callback provided as parameter 3 is not a function..
+PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure).catch(expectedTypeError); did not throw exception.
+PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure).catch(expectedTypeError); did not throw exception.
+PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null).catch(expectedTypeError); did not throw exception.
PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure); did not throw exception.
+PASS TypeError is TypeError
+PASS expectedTypeError was called.
+PASS TypeError is TypeError
+PASS expectedTypeError was called.
+PASS TypeError is TypeError
+PASS expectedTypeError was called.
PASS addIceCandidateSuccess was called.
PASS iceConnectionState is closed.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698