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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-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-localDescription-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-expected.txt
index 3e6b9790b1db5fafa725da51324961001f34f1f2..b7e77f7d7e1ebc73e9ea4c672e831a7867418d73 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-expected.txt
@@ -3,10 +3,17 @@ Tests RTCPeerConnection localDescription.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS pc.setLocalDescription(null) threw exception TypeError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': parameter 1 is not of type 'RTCSessionDescription'..
-PASS pc.setLocalDescription(sessionDescription, requestSucceeded1, requestFailed1); did not throw exception.
+PASS testExecutionOrderClosedConnection() did not throw exception.
+PASS pc.setLocalDescription().catch(expectedTypeError) did not throw exception.
+PASS pc.setLocalDescription(null).catch(expectedInvalidSessionDescription) did not throw exception.
+PASS pc.setLocalDescription(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.setLocalDescription(sessionDescription, requestSucceeded2, requestFailed2); did not throw exception.
+PASS pc.setLocalDescription(sessionDescription, unexpectedCallback, requestFailed2); did not throw exception.
PASS requestFailed was called.
PASS pc.localDescription.type is "offer"
PASS pc.localDescription.sdp is "local"

Powered by Google App Engine
This is Rietveld 408576698