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

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: philipj's comments on tests 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..c7c9f43d390d478d9393b038ed6d81a3ce3bf41a 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt
@@ -3,12 +3,21 @@ Tests the RTCPeerConnection Ice functionality.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+PASS testExecutionOrderClosedConnection() did not throw exception.
PASS pc = new webkitRTCPeerConnection(null, null); did not throw exception.
+PASS error is "The RTCPeerConnection's signalingState is 'closed'."
+PASS events is [1,2,3]
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(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure); did not throw exception.
+PASS pc.addIceCandidate(null, addIceCandidateSuccess, unexpectedCallback).catch(expectedTypeError); did not throw exception.
+PASS pc.addIceCandidate(iceCandidate, null, unexpectedCallback).catch(expectedTypeError); did not throw exception.
+PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null).catch(expectedTypeError); did not throw exception.
+PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, unexpectedCallback); 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