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

Unified Diff: LayoutTests/media/video-seekable-expected.txt

Issue 607493002: Introduce WebMediaPlayer::seekable() to replace maxTimeSeekable() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/media/video-seekable-expected.txt
diff --git a/LayoutTests/media/video-seekable-expected.txt b/LayoutTests/media/video-seekable-expected.txt
index d0f9988133da0115c785bd6ecda6e6f225480396..1b919cb1ddd7be5b04f9e3185eb2b26bbac7f221 100644
--- a/LayoutTests/media/video-seekable-expected.txt
+++ b/LayoutTests/media/video-seekable-expected.txt
@@ -3,10 +3,11 @@ TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exe
TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (4294967295) is greater than the maximum bound (0).) OK
TEST(video.seekable.start(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).) OK
TEST(video.seekable.end(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).) OK
-EVENT(canplaythrough)
+EVENT(loadedmetadata)
EXPECTED (video.seekable.length == '1') OK
EXPECTED (video.seekable.start(0) == '0') OK
-EXPECTED (video.seekable.end(0) > '0') OK
+EXPECTED (video.seekable.end(0) > '5') OK
+EXPECTED (video.seekable.end(0) < '7') OK
TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (4294967295) is greater than the maximum bound (1).) OK
TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (4294967295) is greater than the maximum bound (1).) OK
TEST(video.seekable.start(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (1) is greater than or equal to the maximum bound (1).) OK

Powered by Google App Engine
This is Rietveld 408576698