Closed Bug 1550949 Opened 6 years ago Closed 6 years ago

Disallow time-only version of ISO8601

Categories

(Core :: JavaScript Engine, defect)

68 Branch
defect
Not set
normal

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.

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.

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: 6 years 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.

Attachment

General

Created:
Updated:
Size: