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"); |