Chromium Code Reviews| 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(load) | |
| 4 EXPECTED (video.currentTime == '0') OK | |
| 5 RUN(video.currentTime = video.duration - 0.2) | |
| 6 EXPECTED (video.currentTime.toFixed(2) == '5.82') OK | |
| 7 RUN(video.play()) | |
| 8 | |
| 9 EVENT(ended) | |
| 10 END OF TEST | |
| OLD | NEW |