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