haikuwebkit/LayoutTests/media/video-currentTime-delay-exp...

12 lines
229 B
Plaintext

Test a delay in playing the movie results in a canPlay event.
EVENT(canplaythrough)
EXPECTED (video.currentTime == '0') OK
RUN(video.currentTime = video.duration - 0.2)
EVENT(seeked)
RUN(video.play())
EVENT(ended)
END OF TEST