Closed Bug 1439800 Opened 8 years ago Closed 2 years ago

new Date("01-Apr-08") accepted in Chrome but is invalid in Firefox

Categories

(Core :: JavaScript: Standard Library, defect, P3)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Webcompat Priority ?
Tracking Status
firefox-esr102 --- fixed
firefox112 --- wontfix
firefox113 --- fixed
firefox114 --- fixed

People

(Reporter: dietrich, Assigned: arai)

References

(Blocks 1 open bug)

Details

(Keywords: compat, DevAdvocacy)

Attachments

(1 file)

I couldn't find anything to dupe against, but seems like it should be here already... new Date("01-Apr-08") Chrome Canary: Tue Apr 01 2008 00:00:00 GMT-0700 (PDT) Firefox Nightly: Invalid Date
Blocks: 1274354
Priority: -- → P3
Component: JavaScript Engine → JavaScript: Standard Library
Severity: normal → S3
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
See Also: → 1515318, 1693692
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/d89fb9ef55c4 Support dd-MMM-yyyy and dd-MMM-yy in Date parsing. r=evilpie
Duplicate of this bug: 1515318
Duplicate of this bug: 1693692
Duplicate of this bug: 1600902
Duplicate of this bug: 1785973
Duplicate of this bug: 1609401
Duplicate of this bug: 1723515

The following field has been copied from a duplicate bug:

Field Value Source
Webcompat Priority ? bug 1515318

For more information, please visit auto_nag documentation.

Webcompat Priority: --- → ?
See Also: → 1825938
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

Hi tooru,
This fixes JAL flight reservation (See bug 1825938).
Do you think we should uplift this pref change to Beta 113, 112 and ESR102?

Flags: needinfo?(arai.unmht)

Comment on attachment 9329964 [details]
Bug 1439800 - Support dd-MMM-yyyy and dd-MMM-yy in Date parsing. r?evilpie!

Beta/Release Uplift Approval Request

  • User impact if declined: Users cannot reserve a flight on JAL website (bug 1825938)
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This fixes the Date parsing where a dash - before year had been treated as minus sign, only on Firefox (Chrome and Safari don't).
    It's less likely that some website depends on the previous Firefox's behavior.
  • String changes made/needed:
  • Is Android affected?: Yes

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This issue affects a major website on Japan.
  • User impact if declined: Users cannot reserve a flight on JAL website (bug 1825938)
  • Fix Landed on Version: 114
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This fixes the Date parsing where a dash - before year had been treated as minus sign, only on Firefox (Chrome and Safari don't).
    It's less likely that some website depends on the previous Firefox's behavior.
Flags: needinfo?(arai.unmht)
Attachment #9329964 - Flags: approval-mozilla-release?
Attachment #9329964 - Flags: approval-mozilla-esr102?
Attachment #9329964 - Flags: approval-mozilla-beta?

Comment on attachment 9329964 [details]
Bug 1439800 - Support dd-MMM-yyyy and dd-MMM-yy in Date parsing. r?evilpie!

Too late for a 112 dot release at this point.

Attachment #9329964 - Flags: approval-mozilla-release? → approval-mozilla-release-

Comment on attachment 9329964 [details]
Bug 1439800 - Support dd-MMM-yyyy and dd-MMM-yy in Date parsing. r?evilpie!

Approved for 113.0b9.

Attachment #9329964 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9329964 [details]
Bug 1439800 - Support dd-MMM-yyyy and dd-MMM-yy in Date parsing. r?evilpie!

Approved for 102.11esr.

Attachment #9329964 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
Blocks: 1825938
See Also: 1825938
See Also: 1515318
See Also: 1693692
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: