Index: LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
diff --git a/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt b/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
index 0dd22d042ba0de040a0ca33864314fddfa622f8b..26ce9f5537e100690bde5eb50e261aebbdab4ffa 100644 |
--- a/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
+++ b/LayoutTests/fast/forms/range/range-stepup-stepdown-expected.txt |
@@ -32,32 +32,32 @@ PASS stepDownExplicitBounds(null, null, "foo", "1") is "0" |
PASS stepDownExplicitBounds(null, null, "0", "2") is "1" |
PASS stepDownExplicitBounds(null, null, "-1", "3") is "2" |
Step=any |
-PASS stepUpExplicitBounds(null, null, "any", "1") threw exception Error: InvalidStateError: DOM Exception 11. |
-PASS stepDownExplicitBounds(null, null, "any", "1") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, null, "any", "1") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
+PASS stepDownExplicitBounds(null, null, "any", "1") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
Overflow/underflow |
PASS stepUpExplicitBounds(null, "100", "1", "99") is "100" |
-PASS stepUpExplicitBounds(null, "100", "1", "100") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, "100", "1", "100") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS input.value is "100" |
-PASS stepUpExplicitBounds(null, "100", "1", "99", "2") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, "100", "1", "99", "2") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS input.value is "99" |
PASS stepDownExplicitBounds("0", null, "1", "1") is "0" |
-PASS stepDownExplicitBounds("0", null, "1", "0") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepDownExplicitBounds("0", null, "1", "0") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS input.value is "0" |
-PASS stepDownExplicitBounds("0", null, "1", "1", "2") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepDownExplicitBounds("0", null, "1", "1", "2") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS input.value is "1" |
-PASS stepDownExplicitBounds(null, null, "3.40282346e+38", "1", "2") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepDownExplicitBounds(null, null, "3.40282346e+38", "1", "2") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS stepUpExplicitBounds(-100, 0, 1, -1) is "0" |
-PASS stepUpExplicitBounds(null, 0, 1, 0) threw exception Error: InvalidStateError: DOM Exception 11. |
-PASS stepUpExplicitBounds(-100, 0, 1, -1, 2) threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, 0, 1, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
+PASS stepUpExplicitBounds(-100, 0, 1, -1, 2) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
PASS input.value is "-1" |
-PASS stepUpExplicitBounds(null, null, "3.40282346e+38", "1", "2") threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, null, "3.40282346e+38", "1", "2") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
stepDown()/stepUp() for stepMismatch values |
PASS stepUpExplicitBounds(null, null, 2, 1) is "4" |
PASS input.stepDown(); input.value is "2" |
PASS stepUpExplicitBounds(0, null, 10, 9, 9) is "100" |
PASS stepDownExplicitBounds(0, null, 10, 19) is "10" |
value + step is <= max, but rounded result would be > max. |
-PASS stepUpExplicitBounds(null, 99, 10, 89) threw exception Error: InvalidStateError: DOM Exception 11. |
+PASS stepUpExplicitBounds(null, 99, 10, 89) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.. |
Huge value and small step |
PASS stepUpExplicitBounds(0, 1e38, 1, 1e38, 999999) is "1e+38" |
PASS stepDownExplicitBounds(0, 1e38, 1, 1e38, 999999) is "1e+38" |