Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / media / media-controller-playback-expected.txt
1  
2 RUN(controller = video.controller)
3 EVENT(canplaythrough)
4 TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
5 TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
6 TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
7 RUN(controller.play())
8 EVENT(playing)
9 EXPECTED (controller.paused == 'false') OK
10 RUN(controller.currentTime = 5)
11 EXPECTED (controller.currentTime == '5') OK
12 EXPECTED (video.currentTime == '5') OK
13 EXPECTED (video2.currentTime == '5') OK
14 EVENT(ended)
15 END OF TEST
16