Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Tests that duration is not set to zero when playing in reverse to the origin. | |
| 2 | |
| 3 | |
| 4 EVENT(canplaythrough) | |
| 5 EXPECTED (video.duration > '0') OK | |
| 6 EXPECTED (video.currentTime == '0') OK | |
| 7 RUN(video.currentTime = 0.3) | |
| 8 | |
| 9 EVENT(seeked) | |
| 10 EXPECTED (video.currentTime.toFixed(1) == '0.3') OK | |
| 11 RUN(video.play()) | |
| 12 RUN(video.playbackRate = -1) | |
| 13 | |
| 14 EXPECTED (video.duration > '0') OK | |
| 15 END OF TEST | |
| 16 | |
| OLD | NEW |