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

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

Issue 197213012: Improve media-related exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant TimeRanges test Created 6 years, 9 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-buffered-expected.txt
diff --git a/LayoutTests/media/video-buffered-expected.txt b/LayoutTests/media/video-buffered-expected.txt
index d32b4fd1fc6f6db9421d72f2d31a390e40eaf830..3456fa2fcaed84b0eee35e412a7e4abf031939fb 100644
--- a/LayoutTests/media/video-buffered-expected.txt
+++ b/LayoutTests/media/video-buffered-expected.txt
@@ -1,15 +1,15 @@
EXPECTED (video.buffered.length == '0') OK
-TEST(video.buffered.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (4294967295) is not less than the object's length (0).) OK
-TEST(video.buffered.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (4294967295) is not less than the object's length (0).) OK
-TEST(video.buffered.start(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (0) is not less than the object's length (0).) OK
-TEST(video.buffered.end(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (0) is not less than the object's length (0).) OK
+TEST(video.buffered.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (4294967295) is greater than the maximum bound (0).) OK
+TEST(video.buffered.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.buffered.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.buffered.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)
EXPECTED (video.buffered.length == '1') OK
EXPECTED (video.buffered.start(0) == '0') OK
EXPECTED (video.buffered.end(0) > '0') OK
-TEST(video.buffered.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (4294967295) is not less than the object's length (1).) OK
-TEST(video.buffered.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (4294967295) is not less than the object's length (1).) OK
-TEST(video.buffered.start(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'start' on 'TimeRanges': The index provided (1) is not less than the object's length (1).) OK
-TEST(video.buffered.end(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (1) is not less than the object's length (1).) OK
+TEST(video.buffered.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.buffered.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.buffered.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
+TEST(video.buffered.end(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execute 'end' on 'TimeRanges': The index provided (1) is greater than or equal to the maximum bound (1).) OK
END OF TEST
« no previous file with comments | « LayoutTests/media/track/vtt-cue-exceptions-expected.txt ('k') | LayoutTests/media/video-currentTime-set-with-controller.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698