Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-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: Use ScriptPromiseResolver::detach() to leave the promise unresolved. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
index 3cde3a8459024cd009f6b12104236232607370f5..1d63e6532d07f8f42172cb965890e152c8880358 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
@@ -3,10 +3,21 @@ Tests RTCPeerConnection remoteDescription.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS pc.setRemoteDescription(null) threw exception TypeError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': parameter 1 is not of type 'RTCSessionDescription'..
-PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFailed1); did not throw exception.
+PASS testExecutionOrderClosedConnection() did not throw exception.
+PASS pc.setRemoteDescription().catch(expectedTypeError) did not throw exception.
+PASS pc.setRemoteDescription(null).catch(expectedInvalidSessionDescription) did not throw exception.
+PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, unexpectedCallback); did not throw exception.
+PASS error.name is "TypeError"
+PASS orderCounter is 1
+PASS error is "The RTCPeerConnection's signalingState is 'closed'."
+PASS orderCounter is 2
+PASS error.name is "TypeError"
+PASS orderCounter is 3
+PASS error.name is "TypeError"
+PASS expectedTypeError was called.
+PASS expectedInvalidSessionDescription was called.
PASS requestSucceeded was called.
-PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFailed2); did not throw exception.
+PASS pc.setRemoteDescription(sessionDescription, unexpectedCallback, requestFailed2); did not throw exception.
PASS requestFailed was called.
PASS pc.remoteDescription.type is "answer"
PASS pc.remoteDescription.sdp is "remote"

Powered by Google App Engine