blob: f00e2c860c33b2aae2a04828b84569e23281e334 [file] [log] [blame]
This tests that currentTime is kept stable during script execution.
RUN(controller = video.controller)
EVENT(canplaythrough)
RUN(video.play())
RUN(controller.play())
EVENT(playing)
RUN(firstTime = controller.currentTime)
RUN(secondTime = controller.currentTime)
EXPECTED (firstTime - secondTime == '0') OK
END OF TEST