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

Side by Side Diff: LayoutTests/media/video-seekable-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 EXPECTED (video.seekable.length == '0') OK 1 EXPECTED (video.seekable.length == '0') OK
2 TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exe cute 'start' on 'TimeRanges': The index provided (4294967295) is not less than t he object's length (0).) OK 2 TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exe cute 'start' on 'TimeRanges': The index provided (4294967295) is greater than th e maximum bound (0).) OK
3 TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execu te 'end' on 'TimeRanges': The index provided (4294967295) is not less than the o bject's length (0).) OK 3 TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execu te 'end' on 'TimeRanges': The index provided (4294967295) is greater than the ma ximum bound (0).) OK
4 TEST(video.seekable.start(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exec ute 'start' on 'TimeRanges': The index provided (0) is not less than the object' s length (0).) OK 4 TEST(video.seekable.start(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exec ute 'start' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).) OK
5 TEST(video.seekable.end(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execut e 'end' on 'TimeRanges': The index provided (0) is not less than the object's le ngth (0).) OK 5 TEST(video.seekable.end(0)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execut e 'end' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).) OK
6 EVENT(canplaythrough) 6 EVENT(canplaythrough)
7 EXPECTED (video.seekable.length == '1') OK 7 EXPECTED (video.seekable.length == '1') OK
8 EXPECTED (video.seekable.start(0) == '0') OK 8 EXPECTED (video.seekable.start(0) == '0') OK
9 EXPECTED (video.seekable.end(0) > '0') OK 9 EXPECTED (video.seekable.end(0) > '0') OK
10 TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exe cute 'start' on 'TimeRanges': The index provided (4294967295) is not less than t he object's length (1).) OK 10 TEST(video.seekable.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exe cute 'start' on 'TimeRanges': The index provided (4294967295) is greater than th e maximum bound (1).) OK
11 TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execu te 'end' on 'TimeRanges': The index provided (4294967295) is not less than the o bject's length (1).) OK 11 TEST(video.seekable.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execu te 'end' on 'TimeRanges': The index provided (4294967295) is greater than the ma ximum bound (1).) OK
12 TEST(video.seekable.start(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exec ute 'start' on 'TimeRanges': The index provided (1) is not less than the object' s length (1).) OK 12 TEST(video.seekable.start(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to exec ute 'start' on 'TimeRanges': The index provided (1) is greater than or equal to the maximum bound (1).) OK
13 TEST(video.seekable.end(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execut e 'end' on 'TimeRanges': The index provided (1) is not less than the object's le ngth (1).) OK 13 TEST(video.seekable.end(1)) THROWS(DOMException.INDEX_SIZE_ERR: Failed to execut e 'end' on 'TimeRanges': The index provided (1) is greater than or equal to the maximum bound (1).) OK
14 END OF TEST 14 END OF TEST
15 15
OLDNEW
« no previous file with comments | « LayoutTests/media/video-currentTime-set-with-controller-expected.txt ('k') | LayoutTests/media/video-volume-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698