Closed
Bug 825197
Opened 13 years ago
Closed 3 months ago
When passing +/-Infinity to .valueAsNumber, TypeError should be thrown
Categories
(Core :: DOM: Forms, defect, P5)
Core
DOM: Forms
Tracking
()
RESOLVED
FIXED
141 Branch
Tracking | Status | |
---|---|---|
firefox141 | --- | fixed |
People
(Reporter: mounir, Assigned: sajidanwar, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [domcore-bugbash-triaged], [wptsync upstream])
Attachments
(1 file)
Bug 825009 implements throwing but not TypeError because that is only available with WebIDL. We should make sure to throw TypeError when bug 825196 is resolved.
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•5 years ago
|
Component: DOM: Core & HTML → DOM: Forms
Updated•3 years ago
|
Severity: normal → S3
Updated•6 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
Hi all, I'd like to take this bug. I've got this mostly complete, just finalizing adding two new WPT files (one for valueAsNumber, and a very similar one for valueAsDate — these are the only two instances of TypeError in the HTML Input specification). I'll probably publish a patch tomorrow.
Assignee | ||
Comment 3•3 months ago
|
||
Also added two new Web Platform Tests to validate TypeError from valueAsNumber
and valueAsDate
, which are the
only two TypeError conditions in the HTML Input specification: https://html.spec.whatwg.org/multipage/input.html
Updated•3 months ago
|
Assignee: nobody → sajidanwar94
Status: NEW → ASSIGNED
Pushed by avandolder@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/7b80b1b2b71e
https://hg.mozilla.org/integration/autoland/rev/19d18586c082
Throw TypeError when providing infinite number to HTMLInputElement.valueAsNumber. r=avandolder
Comment 5•3 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox141:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/53100 for changes under testing/web-platform/tests
Whiteboard: [domcore-bugbash-triaged] → [domcore-bugbash-triaged], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
Updated•2 months ago
|
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in
before you can comment on or make changes to this bug.
Description
•