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

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: 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-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..6692f9b821108c448556559dfb04b6627aec1549 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,17 @@ 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 is "The RTCPeerConnection's signalingState is 'closed'."
+PASS events is [1,2,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
This is Rietveld 408576698