Closed Bug 1675692 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 26426 - [input] Test some edge-cases for valueAsNumber with type number

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26426 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26426
Details from upstream follow.

b'Darryl Pogue <darryl@dpogue.ca>' wrote:

[input] Test some edge-cases for valueAsNumber with type number

There are some edge-cases (negatives, exponent notation, and invalid values) for input type="number" valueAsNumber that are not currently covered by WPT tests.

I've checked these locally in Chrome, Firefox, and WebKit (Epiphany) and the updated tests pass.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 56 subtests

Status Summary

Firefox

OK : 1
PASS: 56

Chrome

OK : 1
PASS: 56

Safari

OK : 1
PASS: 51
FAIL: 5

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6c1f088ff1fb [wpt PR 26426] - [input] Test some edge-cases for valueAsNumber with type number, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.