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

Unified Diff: LayoutTests/fast/mediastream/RTCPeerConnection-remotestreams.html

Issue 827673002: Add MediaStream.active attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 11 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-remotestreams.html
diff --git a/LayoutTests/fast/mediastream/RTCPeerConnection-remotestreams.html b/LayoutTests/fast/mediastream/RTCPeerConnection-remotestreams.html
index 8e46faea26198e747e493880c3580c1d37f0aa65..c1616468e5fc9426b773f8b41d98f811b684ad65 100644
--- a/LayoutTests/fast/mediastream/RTCPeerConnection-remotestreams.html
+++ b/LayoutTests/fast/mediastream/RTCPeerConnection-remotestreams.html
@@ -58,6 +58,7 @@ function onAddStream(event) {
testPassed('remote stream was added');
shouldBeEqualToNumber('event.stream.getVideoTracks().length', 1);
shouldBeEqualToNumber('event.stream.getAudioTracks().length', 1);
+ shouldBeTrue('event.stream.active')
pc.removeStream(local_stream);
}
@@ -65,6 +66,7 @@ function onRemoveStream(event) {
testPassed('remote stream was removed');
shouldBeEqualToNumber('event.stream.getVideoTracks().length', 0);
shouldBeEqualToNumber('event.stream.getAudioTracks().length', 0);
+ shouldBeFalse('event.stream.active')
}
pc = new webkitRTCPeerConnection(null, null);

Powered by Google App Engine
This is Rietveld 408576698