OLD | NEW |
1 | 1 |
2 RUN(controller = video.controller) | 2 RUN(controller = video.controller) |
3 EVENT(canplaythrough) | 3 EVENT(canplaythrough) |
| 4 TEST(controller.currentTime = -Infinity) THROWS(TypeError: Failed to set the 'cu
rrentTime' property on 'MediaController': The value provided is infinite.) OK |
| 5 TEST(controller.currentTime = Infinity) THROWS(TypeError: Failed to set the 'cur
rentTime' property on 'MediaController': The value provided is infinite.) OK |
| 6 TEST(controller.currentTime = NaN) THROWS(TypeError: Failed to set the 'currentT
ime' property on 'MediaController': The value provided is not a number.) OK |
4 RUN(controller.play()) | 7 RUN(controller.play()) |
5 EVENT(playing) | 8 EVENT(playing) |
6 EXPECTED (controller.paused == 'false') OK | 9 EXPECTED (controller.paused == 'false') OK |
7 RUN(controller.currentTime = 5) | 10 RUN(controller.currentTime = 5) |
8 EXPECTED (video.currentTime == '5') OK | 11 EXPECTED (video.currentTime == '5') OK |
9 EXPECTED (video2.currentTime == '5') OK | 12 EXPECTED (video2.currentTime == '5') OK |
10 EVENT(ended) | 13 EVENT(ended) |
11 END OF TEST | 14 END OF TEST |
12 | 15 |
OLD | NEW |