| Index: LayoutTests/fast/forms/date/input-valueasnumber-date.html
|
| diff --git a/LayoutTests/fast/forms/date/input-valueasnumber-date.html b/LayoutTests/fast/forms/date/input-valueasnumber-date.html
|
| index 53cac9ce112adfcc95fa94e471b4f22d27a5c527..9a7f95cd11c16869f965109680aecd3557e73bc1 100644
|
| --- a/LayoutTests/fast/forms/date/input-valueasnumber-date.html
|
| +++ b/LayoutTests/fast/forms/date/input-valueasnumber-date.html
|
| @@ -43,13 +43,13 @@ shouldBe('setValueAsNumberAndGetValue(275760, 8, 13)', '"275760-09-13"');
|
|
|
| debug('Tests to set invalid values to valueAsNumber:');
|
| shouldBe('input.value = ""; input.valueAsNumber = null; input.value', '"1970-01-01"');
|
| -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."');
|
| -shouldThrow('input.valueAsNumber = Date.UTC(275760, 8, 14)', '"NotSupportedError: The implementation did not support the requested type of object or operation."');
|
| +shouldThrow('input.valueAsNumber = "foo"', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is not a number."');
|
| +shouldThrow('input.valueAsNumber = NaN', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is not a number."');
|
| +shouldThrow('input.valueAsNumber = Number.NaN', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is not a number."');
|
| +shouldThrow('input.valueAsNumber = Infinity', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is infinite."');
|
| +shouldThrow('input.valueAsNumber = Number.POSITIVE_INFINITY', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is infinite."');
|
| +shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is infinite."');
|
| +shouldThrow('input.valueAsNumber = Date.UTC(275760, 8, 14)', '"NotSupportedError: Failed to set the \'valueAsNumber\' property on \'HTMLInputElement\': The value provided is not a number."');
|
| </script>
|
| </body>
|
| </html>
|
|
|