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

Unified Diff: LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html

Issue 827673002: Add MediaStream.active attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add MediaStream.active attribute 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/MediaStream-add-remove-tracks.html
diff --git a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
index 2ef08db836bd900ef0c33de0c48ae81fc95c9bc3..9522e377ceb523774704b1682ffa1fda901fc411 100644
--- a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
+++ b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
@@ -116,10 +116,10 @@ function gotStream2(s) {
shouldBe('stream1.getVideoTracks().length', '2');
shouldBe('stream1.getTracks().length', '4');
- // when all tracks have been removed, stream.ended should return true.
+ // when all tracks have been removed, stream.active should return false.
tryRemoveTrack(stream2, stream2.getAudioTracks()[0]);
tryRemoveTrack(stream2, stream2.getVideoTracks()[0]);
- shouldBeTrue('stream2.ended');
+ shouldBeFalse('stream2.active');
stream1.stop();

Powered by Google App Engine
This is Rietveld 408576698