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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-getvideoplaybackquality.html

Issue 2102323002: MSE: Experimental support for new abort and duration behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/http/tests/media/media-source/mediasource-getvideoplaybackquality.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-getvideoplaybackquality.html b/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-getvideoplaybackquality.html
index a8c37a023df904f44272a217f3582b3ff4b16888..68e82693980c8996e25dd7afbee72dcf7521693b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-getvideoplaybackquality.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-getvideoplaybackquality.html
@@ -49,8 +49,8 @@
test.expectEvent(sourceBuffer, "update");
test.expectEvent(sourceBuffer, "updateend");
- mediaSource.duration = 1;
-
+ // Truncate the buffered media to about 1 second duration.
+ sourceBuffer.remove(1, +Infinity);
assert_true(sourceBuffer.updating, "sourceBuffer.updating");
});

Powered by Google App Engine
This is Rietveld 408576698