Closed
Bug 1550949
Opened 6 years ago
Closed 6 years ago
Disallow time-only version of ISO8601
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
(Keywords: site-compat, Whiteboard: [parity-chrome][parity-safari][parity-edge])
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Date.parse("T00:00:00Z")
Expected results:
NaN
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1500748#c13, SpiderMonkey is the only JS engine that supports such format.
Assignee | ||
Updated•6 years ago
|
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Assignee | ||
Updated•6 years ago
|
Whiteboard: [parity-chrome][parity-safari][parity-edge]
Assignee | ||
Comment 1•6 years ago
|
||
ES5.1 removed time-only format T00:00:00 and no other browsers support it. So this diff removes the support from gecko.
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/69c5ef5e6035
Disallow time-only version of ISO8601 r=arai
Keywords: checkin-needed
Comment 3•6 years ago
|
||
bugherder |
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Updated•6 years ago
|
Assignee: nobody → saschanaz
Comment 4•6 years ago
|
||
Posted site compatibility note: https://www.fxsitecompat.com/en-CA/docs/2019/date-parse-no-longer-accepts-illegal-iso-8601-date-time-formats/
Keywords: site-compat
You need to log in
before you can comment on or make changes to this bug.
Description
•