
For example, in the following abbreviated test HTML: <span>some text</span> <script>println("whf")</script> We would have to craft the expectation file to include the "some text" segment, usually with some leading whitespace. This is a bit annoying, and makes it difficult to manually craft expectation files. So instead of comparing the expectation against the entire DOM inner text, we now send the inner text of just the <pre> element containing the test output when we invoke `internals.signalTextTestIsDone`.
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
valueAsNumber getter:
|
|
number: 100
|
|
range: 100
|
|
hidden: NaN
|
|
text: NaN
|
|
search: NaN
|
|
tel: NaN
|
|
url: NaN
|
|
email: NaN
|
|
password: NaN
|
|
date: NaN
|
|
month: NaN
|
|
week: NaN
|
|
time: NaN
|
|
datetime-local: NaN
|
|
color: NaN
|
|
checkbox: NaN
|
|
radio: NaN
|
|
file: NaN
|
|
submit: NaN
|
|
image: NaN
|
|
reset: NaN
|
|
button: NaN
|
|
valueAsNumber setter:
|
|
number did not throw: 100
|
|
range did not throw: 100
|
|
hidden threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
text threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
search threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
tel threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
url threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
email threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
password threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
date did not throw: NaN
|
|
month did not throw: NaN
|
|
week did not throw: NaN
|
|
time did not throw: NaN
|
|
datetime-local did not throw: NaN
|
|
color threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
checkbox threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
radio threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
file threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
submit threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
image threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
reset threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|
|
button threw exception: InvalidStateError: valueAsNumber: Invalid input type used
|