Index: LayoutTests/media/media-controller-playbackrate.html |
diff --git a/LayoutTests/media/media-controller-playbackrate.html b/LayoutTests/media/media-controller-playbackrate.html |
index 73714cf31960258c20d49d3fffc6dda0b586cca0..e5a142b44a91494a8e26532d624c85a48e3cda43 100644 |
--- a/LayoutTests/media/media-controller-playbackrate.html |
+++ b/LayoutTests/media/media-controller-playbackrate.html |
@@ -14,12 +14,12 @@ |
video.mediaGroup = "group"; |
// Test non-finite rates. |
- testException("video.controller.defaultPlaybackRate = -Infinity", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.defaultPlaybackRate = Infinity", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.defaultPlaybackRate = NaN", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The value provided is not a number."'); |
- testException("video.controller.playbackRate = -Infinity", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.playbackRate = Infinity", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.playbackRate = NaN", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The value provided is not a number."'); |
+ testException("video.controller.defaultPlaybackRate = -Infinity", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.defaultPlaybackRate = Infinity", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.defaultPlaybackRate = NaN", '"TypeError: Failed to set the \'defaultPlaybackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.playbackRate = -Infinity", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.playbackRate = Infinity", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.playbackRate = NaN", '"TypeError: Failed to set the \'playbackRate\' property on \'MediaController\': The provided double value is non-finite."'); |
// Test that the controller rate sets the video rate. |
video.playbackRate = 0; |