Closed Bug 1313793 Opened 8 years ago Closed 8 years ago

Remove Date.prototype.toLocaleFormat uses in browser/base/content

Categories

(Firefox :: Search, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 52
Tracking Status
firefox52 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(1 file)

Date.prototype.toLocaleFormat is a non-standard API and we plan to warn when it's used (bug 1299900) and eventually want to remove it completely (bug 818634). As a first step we need to replace all Date.prototype.toLocaleFormat uses in Firefox with standardized APIs.

Date.prototype.toLocaleFormat is used in browser/base/content/urlbarBindings.xml and could easily be replaced with standard JavaScript API.
Attachment #8805722 - Flags: review?(florian)
Attachment #8805722 - Flags: review?(florian) → review+
Thanks for the review!
Keywords: checkin-needed
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e4a31120b53
Remove Date.prototype.toLocaleFormat uses in browser/base/content. r=florian
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/6e4a31120b53
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: