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

Unified Diff: LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt

Issue 607523002: Added layouttests for checking that RTCPeerConnection.onaddstream (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
diff --git a/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt b/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
index eef2ed1bf3b2a0699cb7e182ce58d8c814649a89..9eb09b3c052f3c81808b1fab31e005bf5c8aee13 100644
--- a/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
+++ b/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription-expected.txt
@@ -4,12 +4,22 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS pc.setRemoteDescription(sessionDescription, requestSucceeded1, requestFailed1); did not throw exception.
+PASS remote stream was added
+PASS event.stream.getVideoTracks().length is 1
+PASS event.stream.getAudioTracks().length is 1
PASS requestSucceeded was called.
+PASS pc.getRemoteStreams().length is 1
PASS pc.setRemoteDescription(sessionDescription, requestSucceeded2, requestFailed2); did not throw exception.
PASS requestFailed was called.
PASS pc.remoteDescription.type is "answer"
PASS pc.remoteDescription.sdp is "remote"
-PASS pc.remoteDescription.type is "answer"
+PASS pc.setRemoteDescription(sessionDescription, requestSucceeded3, requestFailed1); did not throw exception.
+PASS remote stream was removed
+PASS event.stream.getVideoTracks().length is 0
+PASS event.stream.getAudioTracks().length is 0
+PASS requestSucceeded was called.
+PASS pc.getRemoteStreams().length is 0
+PASS pc.remoteDescription.type is "offer"
PASS pc.remoteDescription.sdp is "remote"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698