blob: 0d11214f9eff482eef2f1d1ed25bb7e3dd84dccb [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