| Index: LayoutTests/fast/forms/month/input-valueasnumber-month.html
|
| diff --git a/LayoutTests/fast/forms/month/input-valueasnumber-month.html b/LayoutTests/fast/forms/month/input-valueasnumber-month.html
|
| index 8f6c5e84efed6838dccb1cc60b06d828af25b064..98c6e16b3da17aeb4c687177b3cec4740acd90dc 100644
|
| --- a/LayoutTests/fast/forms/month/input-valueasnumber-month.html
|
| +++ b/LayoutTests/fast/forms/month/input-valueasnumber-month.html
|
| @@ -47,12 +47,12 @@ shouldBe('setValueAsNumberAndGetValue(275760, 10)', '""');
|
|
|
| debug('Tests to set invalid values to valueAsNumber:');
|
| shouldBe('input.value = ""; input.valueAsNumber = null; input.value', '"1970-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 = "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."');
|
| </script>
|
| </body>
|
| </html>
|
|
|