blob: 86c0dd7f63c5821fb88ee3e6c203033f6e466b60 [file] [log] [blame]
Test that multiple seeks issued at the same time will result in only a single 'seeked' event.
EVENT(canplaythrough)
RUN(video.currentTime = 0.5)
RUN(video.currentTime = 1.5)
RUN(video.currentTime = 2.0)
EXPECTED (video.seeking == 'true') OK
EVENT(seeked)
EXPECTED (video.seeking == 'false') OK
EXPECTED (video.currentTime == '2') OK
END OF TEST