| Index: LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
|
| diff --git a/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
|
| index d7878e2f16384ba4254ae666a380af9de2a66d6d..aa093588e14b16250b278f26b806378027a9d861 100644
|
| --- a/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
|
| +++ b/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
|
| @@ -44,13 +44,13 @@ shouldBe('setValueAsNumberAndGetValue(275760, 8, 13, 0, 0, 0, 0)', '"275760-09-1
|
|
|
| debug('Tests to set invalid values to valueAsNumber:');
|
| shouldBe('input.value = ""; input.valueAsNumber = null; input.value', '"1970-01-01T00:00"');
|
| -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 = Date.UTC(275760, 8, 13, 0, 0, 0, 1)', '"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."');
|
| +shouldThrow('input.valueAsNumber = Date.UTC(275760, 8, 13, 0, 0, 0, 1)', '"NotSupportedError: The implementation did not support the requested type of object or operation."');
|
|
|
| debug('Step attribute value and string representation:');
|
| // If the step attribute value is 1 second and the second part is 0, we should show the second part.
|
|
|