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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-promise-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-promise-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-promise-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-promise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1040b27d83d9fe8d756bb847a3625c10dc83ecdd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription-promise-expected.txt
@@ -0,0 +1,23 @@
+Tests RTCPeerConnection localDescription.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pc.setLocalDescription().catch(expectedTypeError) did not throw exception.
+PASS pc.setLocalDescription(null).catch(expectedInvalidSessionDescription) did not throw exception.
+PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded1, requestFailed1); did not throw exception.
+PASS error.name is "TypeError"
+PASS expectedTypeError was called.
+PASS error.name is "InvalidAccessError"
+PASS expectedInvalidSessionDescription was called.
+PASS requestSucceeded was called.
+PASS pc.setLocalDescription(sessionDescription).then(requestSucceeded2, requestFailed2); did not throw exception.
+PASS requestFailed was called.
+PASS pc.localDescription.type is "offer"
+PASS pc.localDescription.sdp is "local"
+PASS pc.localDescription.type is "offer"
+PASS pc.localDescription.sdp is "local"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698