| Index: LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
|
| diff --git a/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt b/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
|
| index 50163289025ef008f1a6231e7fa5f8c2687d1c62..1f8dff8d09b278e6851402deabd254a113a72570 100644
|
| --- a/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
|
| +++ b/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
|
| @@ -18,12 +18,15 @@ PASS setValueAsNumberAndGetValue(48, 0, 13, 0) is "00:00:13"
|
| PASS setValueAsNumberAndGetValue(-23, -59, -59, 0) is "00:00:01"
|
| Tests to set invalid values to valueAsNumber:
|
| PASS input.value = ""; input.valueAsNumber = null; input.value is "00:00"
|
| -PASS input.valueAsNumber = "foo" threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
|
| -PASS input.valueAsNumber = NaN threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
|
| -PASS input.valueAsNumber = Number.NaN threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
|
| -PASS input.valueAsNumber = Infinity threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| -PASS input.valueAsNumber = Number.POSITIVE_INFINITY threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| -PASS input.valueAsNumber = Number.NEGATIVE_INFINITY threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| +PASS input.valueAsNumber = "foo"; input.valueAsNumber is NaN
|
| +PASS input.valueAsNumber = "foo"; input.value is ""
|
| +PASS input.valueAsNumber = NaN; input.valueAsNumber is NaN
|
| +PASS input.valueAsNumber = NaN; input.value is ""
|
| +PASS input.valueAsNumber = Number.NaN; input.valueAsNumber is NaN
|
| +PASS input.valueAsNumber = Number.NaN; input.value is ""
|
| +PASS input.valueAsNumber = Infinity threw exception TypeError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| +PASS input.valueAsNumber = Number.POSITIVE_INFINITY threw exception TypeError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| +PASS input.valueAsNumber = Number.NEGATIVE_INFINITY threw exception TypeError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
|
| Step attribute value and string representation:
|
| PASS input.step = "1"; setValueAsNumberAndGetValue(0, 0, 0, 0) is "00:00:00"
|
| PASS input.step = "0.001"; setValueAsNumberAndGetValue(0, 0, 0, 0) is "00:00:00.000"
|
|
|