blob: 77172ff5a21d1aca9d64bf00228db53f9688004f [file] [log] [blame]
Test of the media element 'played' attribute
EVENT(loadstart)
EVENT(loadedmetadata)
EVENT(canplay)
Test 1 OK
Test playing when there are no ranges
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 2 OK
Test 3 OK
Test 4 OK
Test jumping forward into a new range and play
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 5 OK
Test 6 OK
Test 7 OK
Test 8 OK
Test 9 OK
Test jumping backwards into a new range and play, should insert new range
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 10 OK
Test 11 OK
Test 12 OK
Test 13 OK
Test 14 OK
Test 15 OK
Test 16 OK
Test playing into an existing range, should extend range start
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 17 OK
Test 18 OK
Test 19 OK
Test 20 OK
Test 21 OK
Test 22 OK
Test 23 OK
Test jumping into an existing range and play beyond end, should extend range end
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 24 OK
Test 25 OK
Test 26 OK
Test 27 OK
Test 28 OK
Test 29 OK
Test 30 OK
Test jumping forward without playing, should not create new range
Test 31 OK
Test 32 OK
Test 33 OK
Test 34 OK
Test 35 OK
Test 36 OK
Test 37 OK
Test jumping back without playing, should not create new range
Test 38 OK
Test 39 OK
Test 40 OK
Test 41 OK
Test 42 OK
Test 43 OK
Test 44 OK
Test jumping before an existing range and play beyond its end, should extend start and end
RUN(video.play())
RUN(video.pause())
EVENT(pause)
Test 45 OK
Test 46 OK
Test 47 OK
Test 48 OK
Test 49 OK
Test 50 OK
Test 51 OK
END OF TEST