Index: LayoutTests/media/video-currentTime-set2.html |
diff --git a/LayoutTests/media/video-currentTime-set2.html b/LayoutTests/media/video-currentTime-set2.html |
index 2622b4638d63e2c570c168d9ce0f105130956fe3..57f464a84b8d042a7149b183d71a0fb2b9c935d4 100644 |
--- a/LayoutTests/media/video-currentTime-set2.html |
+++ b/LayoutTests/media/video-currentTime-set2.html |
@@ -4,9 +4,9 @@ |
<script> |
waitForEvent('canplaythrough', |
function () { |
- testException("video.currentTime = -Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The value provided is infinite."'); |
- testException("video.currentTime = Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The value provided is infinite."'); |
- testException("video.currentTime = NaN", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The value provided is not a number."'); |
+ testException("video.currentTime = -Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The provided double value is non-finite."'); |
+ testException("video.currentTime = Infinity", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The provided double value is non-finite."'); |
+ testException("video.currentTime = NaN", '"TypeError: Failed to set the \'currentTime\' property on \'HTMLMediaElement\': The provided double value is non-finite."'); |
video.currentTime = 1.5; |
testExpected("video.currentTime.toFixed(1)", 1.5); |
video.play(); |