OLD | NEW |
---|---|
(Empty) | |
1 Test that setting currentTime changes the time, and that 'ended' event is fired in a reasonable amount of time | |
2 | |
3 EVENT(canplaythrough) | |
4 EXPECTED (video.currentTime == '0') OK | |
5 RUN(video.currentTime = video.duration - 0.2) | |
6 EVENT(seeked) | |
7 EXPECTED (video.currentTime.toFixed(2) == '5.82') OK | |
8 RUN(video.play()) | |
9 | |
10 EVENT(ended) | |
11 END OF TEST | |
12 | |
OLD | NEW |