Add support to modify Realm time zone
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(8 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1984126 - Part 4: Replace DateTimeInfo::ForceUTC with optional DateTimeInfo parameter. r=jandem!
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•1 year ago
|
||
Later patches will add new callers to StringToTimeZone.
| Assignee | ||
Comment 2•1 year ago
|
||
Using char instead of char16_t simplifies later patches in this patch stack.
| Assignee | ||
Comment 3•1 year ago
|
||
Part 8 will move this to JS::RealmBehaviors, if it's necessary to modify
the time zone after Realm creation.
| Assignee | ||
Comment 4•1 year ago
|
||
Realms with a time zone override will get their own DateTimeInfo object. All
other Realms will continue using the shared DateTimeInfo::instance object.
RFP will be changed to use this new Realm option, so we no longer need the
DateTimeInfo::instanceUTC object.
Static DateTimeInfo method no longer receive the ForceUTC parameter to select
between default and UTC DateTimeInfo instances. Instead DateTimeInfo* is passed
and when the pointer is non-null, all time zone computations happen using the explicit
DateTimeInfo object.
Realm-specific time zone support is only available when JS_HAS_INTL_API is defined,
because without Intl support we can't support different time zones.
Parts 5-7 will update RFP to use the new Realm creation option and remove RealmCreationOptions::forceUTC.
| Assignee | ||
Comment 5•1 year ago
|
||
Update the shell newGlobal function to use the new "timeZone" realm
option and then update RFP tests.
| Assignee | ||
Comment 6•1 year ago
|
||
Change RFP to use new time zone Realm creation option added in parts 3-4.
| Assignee | ||
Comment 7•1 year ago
|
||
| Assignee | ||
Comment 8•1 year ago
|
||
Allow to modify the Realm time zone after creating the Realm.
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
Backed out for causing jsreftest failures on realm-time-zone.js
| Assignee | ||
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8e0fed1afa91
https://hg.mozilla.org/mozilla-central/rev/05cdf3fc02cf
https://hg.mozilla.org/mozilla-central/rev/21c75da9e81b
https://hg.mozilla.org/mozilla-central/rev/a6383adfb3de
https://hg.mozilla.org/mozilla-central/rev/0193199e5ffd
https://hg.mozilla.org/mozilla-central/rev/f5c356b02b77
https://hg.mozilla.org/mozilla-central/rev/eb25fa03633b
https://hg.mozilla.org/mozilla-central/rev/af8869569063
Updated•11 months ago
|
Description
•