blob: 2a63e71e8abc0488c8387fe2d73eb628f1feaf5d [file] [log] [blame]
EXPECTED (video.buffered.length == '0') OK
TEST(video.buffered.start(-1)) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.buffered.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.buffered.start(0)) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.buffered.end(0)) THROWS(DOMException.INDEX_SIZE_ERR) 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) OK
TEST(video.buffered.end(-1)) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.buffered.start(1)) THROWS(DOMException.INDEX_SIZE_ERR) OK
TEST(video.buffered.end(1)) THROWS(DOMException.INDEX_SIZE_ERR) OK
END OF TEST