Index: LayoutTests/fast/forms/time/time-valueasnumber.html |
diff --git a/LayoutTests/fast/forms/time/time-valueasnumber.html b/LayoutTests/fast/forms/time/time-valueasnumber.html |
index df679287fa3459ade6fbc8a0f9bf3dbd3a343332..ff9af77dfd709fc20c4fcc3460a433271d8a2eb8 100644 |
--- a/LayoutTests/fast/forms/time/time-valueasnumber.html |
+++ b/LayoutTests/fast/forms/time/time-valueasnumber.html |
@@ -39,12 +39,12 @@ shouldBe('setValueAsNumberAndGetValue(-23, -59, -59, 0)', '"00:00:01"'); |
debug('Tests to set invalid values to valueAsNumber:'); |
shouldBe('input.value = ""; input.valueAsNumber = null; input.value', '"00:00"'); |
-shouldThrow('input.valueAsNumber = "foo"', '"Error: NotSupportedError: DOM Exception 9"'); |
-shouldThrow('input.valueAsNumber = NaN', '"Error: NotSupportedError: DOM Exception 9"'); |
-shouldThrow('input.valueAsNumber = Number.NaN', '"Error: NotSupportedError: DOM Exception 9"'); |
-shouldThrow('input.valueAsNumber = Infinity', '"Error: NotSupportedError: DOM Exception 9"'); |
-shouldThrow('input.valueAsNumber = Number.POSITIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"'); |
-shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"'); |
+shouldThrow('input.valueAsNumber = "foo"', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
+shouldThrow('input.valueAsNumber = NaN', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
+shouldThrow('input.valueAsNumber = Number.NaN', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
+shouldThrow('input.valueAsNumber = Infinity', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
+shouldThrow('input.valueAsNumber = Number.POSITIVE_INFINITY', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
+shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"NotSupportedError: The implementation did not support the requested type of object or operation."'); |
debug('Step attribute value and string representation:'); |
// If the step attribute value is 1 second and the second part is 0, we should show the second part. |