Closed
Bug 1839682
Opened 2 years ago
Closed 6 months ago
Replace the DefaultTimeZone and CanonicalizeTimeZoneName self-hosted functions with their Temporal counterparts
Categories
(Core :: JavaScript: Standard Library, task, P3)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
142 Branch
| Tracking | Status | |
|---|---|---|
| firefox142 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
temporal::TimeZone adds C++ implementations of the DefaultTimeZone and CanonicalizeTimeZoneName self-hosted functions. When the Temporal code is enabled by default, we can replace the self-hosted functions with the newer C++ functions.
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
| Assignee | ||
Comment 1•6 months ago
|
||
This avoids some duplicated code. The next part will perform further clean-ups.
In addition to that, also provide a way to validate and canonicalise a time zone
name without first constructing a JSString.
Updated•6 months ago
|
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•6 months ago
|
||
Use the Temporal-based functions to avoid duplicated code.
Pushed by andre.bargull@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/edc8545f86a4
https://hg.mozilla.org/integration/autoland/rev/397a961e5bd3
Part 1: Move call to TimeZone::GetCanonicalTimeZoneID into SharedIntlData. r=spidermonkey-reviewers,dminor
https://github.com/mozilla-firefox/firefox/commit/6c886aec818b
https://hg.mozilla.org/integration/autoland/rev/7c46bc8f8fa2
Part 2: Use Temporal time zone functions for Intl. r=spidermonkey-reviewers,dminor
Comment 4•6 months ago
|
||
Backed out for causing SM bustages failures at DateTime.h
- Backout link
- Failure line:
/builds/worker/checkouts/gecko/js/src/vm/DateTime.h:73:27: error: no member named 'intl' in namespace 'mozilla'
Flags: needinfo?(andrebargull)
| Assignee | ||
Updated•6 months ago
|
Flags: needinfo?(andrebargull)
Pushed by andre.bargull@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/95ef4b8ee7a7
https://hg.mozilla.org/integration/autoland/rev/b882fb0a8dcf
Part 1: Move call to TimeZone::GetCanonicalTimeZoneID into SharedIntlData. r=spidermonkey-reviewers,dminor
https://github.com/mozilla-firefox/firefox/commit/9da12aeecab9
https://hg.mozilla.org/integration/autoland/rev/f321bcc90a9d
Part 2: Use Temporal time zone functions for Intl. r=spidermonkey-reviewers,dminor
Comment 6•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b882fb0a8dcf
https://hg.mozilla.org/mozilla-central/rev/f321bcc90a9d
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox142:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•5 months ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•