Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / media / media-controller-playback-expected.txt
index 1a579a8..6400d65 100644 (file)
@@ -1,13 +1,14 @@
  
 RUN(controller = video.controller)
 EVENT(canplaythrough)
-TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is infinite.") OK
-TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is infinite.") OK
-TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The value provided is not a number.") OK
+TEST(controller.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
+TEST(controller.currentTime = Infinity) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
+TEST(controller.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'MediaController': The provided double value is non-finite.") OK
 RUN(controller.play())
 EVENT(playing)
 EXPECTED (controller.paused == 'false') OK
 RUN(controller.currentTime = 5)
+EXPECTED (controller.currentTime == '5') OK
 EXPECTED (video.currentTime == '5') OK
 EXPECTED (video2.currentTime == '5') OK
 EVENT(ended)