Disallow time-only version of ISO8601

RESOLVED FIXED in Firefox 68

Status

()

defect
RESOLVED FIXED
3 months ago
2 months ago

People

(Reporter: saschanaz, Assigned: saschanaz)

Tracking

({site-compat})

68 Branch
mozilla68
Points:
---

Firefox Tracking Flags

(firefox68 fixed)

Details

(Whiteboard: [parity-chrome][parity-safari][parity-edge])

Attachments

(1 attachment)

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.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Whiteboard: [parity-chrome][parity-safari][parity-edge]
See Also: → 1500748

ES5.1 removed time-only format T00:00:00 and no other browsers support it. So this diff removes the support from gecko.

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
Status: UNCONFIRMED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → saschanaz
You need to log in before you can comment on or make changes to this bug.