| Index: LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
|
| diff --git a/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt b/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
|
| index b20f723aab7de479a4bf8e8c26bd8a76d1a10816..88b21c7820122d3d4e93c89b270f73dfacba3b64 100644
|
| --- a/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
|
| +++ b/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
|
| @@ -42,17 +42,17 @@ PASS setValueAsNumberAndGetValue(1.2e10) is "12000000000"
|
| PASS setValueAsNumberAndGetValue(1.2e-10) is "1.2e-10"
|
| PASS setValueAsNumberAndGetValue(1.2345678901234567e+38) is "1.2345678901234567e+38"
|
| PASS setValueAsNumberAndGetValue("-3.40282346e+38") is "-3.40282346e+38"
|
| -PASS setValueAsNumberAndGetValue("-3.40282348e+38") threw exception Error: InvalidStateError: DOM Exception 11.
|
| +PASS setValueAsNumberAndGetValue("-3.40282348e+38") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| PASS setValueAsNumberAndGetValue("3.40282346e+38") is "3.40282346e+38"
|
| -PASS setValueAsNumberAndGetValue("3.40282348e+38") threw exception Error: InvalidStateError: DOM Exception 11.
|
| +PASS setValueAsNumberAndGetValue("3.40282348e+38") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| Tests to set invalid values to valueAsNumber:
|
| PASS setValueAsNumberAndGetValue(null) is "0"
|
| -PASS setValueAsNumberAndGetValue("foo") threw exception Error: NotSupportedError: DOM Exception 9.
|
| -PASS setValueAsNumberAndGetValue(NaN) threw exception Error: NotSupportedError: DOM Exception 9.
|
| -PASS setValueAsNumberAndGetValue(Number.NaN) threw exception Error: NotSupportedError: DOM Exception 9.
|
| -PASS setValueAsNumberAndGetValue(Infinity) threw exception Error: NotSupportedError: DOM Exception 9.
|
| -PASS setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY) threw exception Error: NotSupportedError: DOM Exception 9.
|
| -PASS setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY) threw exception Error: NotSupportedError: DOM Exception 9.
|
| +PASS setValueAsNumberAndGetValue("foo") threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS setValueAsNumberAndGetValue(NaN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS setValueAsNumberAndGetValue(Number.NaN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS setValueAsNumberAndGetValue(Infinity) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|