Index: LayoutTests/media/media-controller-volume.html |
diff --git a/LayoutTests/media/media-controller-volume.html b/LayoutTests/media/media-controller-volume.html |
index 1f61534c6bce59c4b9630e5ab7ffd90d529a5707..774ff4c35732bee937d58a81577bbf3326bf4a09 100644 |
--- a/LayoutTests/media/media-controller-volume.html |
+++ b/LayoutTests/media/media-controller-volume.html |
@@ -24,9 +24,9 @@ |
testDOMException("video.controller.volume = 1.5", "DOMException.INDEX_SIZE_ERR"); |
testDOMException("video.controller.volume = -0.5", "DOMException.INDEX_SIZE_ERR"); |
- testException("video.controller.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is infinite."'); |
- testException("video.controller.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The value provided is not a number."'); |
+ testException("video.controller.volume = -Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.volume = Infinity", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."'); |
+ testException("video.controller.volume = NaN", '"TypeError: Failed to set the \'volume\' property on \'MediaController\': The provided double value is non-finite."'); |
endTest(); |
}; |