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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer-expected.txt

Issue 1713953002: Report errors in RTCPeerConnection legacy functions via the the failure callback instead of excepti… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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-createAnswer-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer-expected.txt
index a009b87eef7b5e5316318e9d75d5167d4c7474f9..b8f00291c1405d4c6ca2aebea4916662a27f479f 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-createAnswer-expected.txt
@@ -3,10 +3,14 @@ Tests RTCPeerConnection createAnswer.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS createOffer request failed.
-PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFailed2); did not throw exception.
+PASS testExecutionOrderClosedConnection() did not throw exception.
+PASS error.name is "InvalidStateError"
+PASS error.toString() is "InvalidStateError: The RTCPeerConnection's signalingState is 'closed'."
+PASS events is [1,2,3]
+PASS createOffer request without remote description failed.
+PASS pc.setRemoteDescription(sessionDescription, descriptionSet, unexpectedCallback); did not throw exception.
PASS setRemoteDescription request succeeded.
-PASS pc.createAnswer(requestSucceeded3, requestFailed3); did not throw exception.
+PASS pc.createAnswer(answerCreated, unexpectedCallback); did not throw exception.
PASS createAnswer request succeeded.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698