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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-play.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-play.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-play.html b/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-play.html
index 2a6ede3a3532b608dbfcdc82bcb5b3390bb52944..263575b20995e6f7c28669cf8610b0aa402d2b93 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-play.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-play.html
@@ -24,7 +24,8 @@
{
assert_false(sourceBuffer.updating, "sourceBuffer.updating");
- mediaSource.duration = 1;
+ // Truncate the buffered media to about 1 second duration.
+ sourceBuffer.remove(1, +Infinity);
assert_true(sourceBuffer.updating, "sourceBuffer.updating");
test.expectEvent(sourceBuffer, "updateend");

Powered by Google App Engine
This is Rietveld 408576698