2 <p>Test seekable range when video load is incomplete.</p>
3 <script src=../../../media/video-test.js></script>
5 waitForEvent('canplay', function () {
6 test("video.seekable");
7 test("video.seekable.length == 1");
8 test("video.seekable.start(0) == 0");
9 test("video.seekable.end(0) > 0");
10 test("video.seekable.end(0) < video.duration - 1");
11 testException("video.currentTime = video.duration - 1", "DOMException.INDEX_SIZE_ERR");
14 video.src = "http://127.0.0.1:8000/media/video-load-and-stall.cgi?name=../../../media/content/test.mp4&stallAt=80000";