| 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 dae54df0f9adf514ec7a5bd79a9795ed35d17da9..4b78ee113d1761cabebe712685bc236e00ae7e3f 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"', '"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."');
|
| </script>
|
| <script src="../../js/resources/js-test-post.js"></script>
|
| </body>
|
|
|