cfleizach@apple.com | 825194c | 2013-11-06 14:15:42 +0000 | [diff] [blame] | 1 | |
jer.noble@apple.com | ee9d8ae | 2012-07-23 21:39:19 +0000 | [diff] [blame] | 2 | This tests that currentTime is kept stable during script execution. |
3 | RUN(controller = video.controller) | ||||
4 | EVENT(canplaythrough) | ||||
5 | RUN(video.play()) | ||||
6 | RUN(controller.play()) | ||||
7 | EVENT(playing) | ||||
8 | RUN(firstTime = controller.currentTime) | ||||
9 | RUN(secondTime = controller.currentTime) | ||||
10 | EXPECTED (firstTime - secondTime == '0') OK | ||||
11 | END OF TEST | ||||
12 |