Read date-time options only once when creating DateTimeFormat objects
Categories
(Core :: JavaScript: Internationalization API, enhancement, P3)
Tracking
()
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(3 files)
Implement the changes from https://github.com/tc39/ecma402/pull/709.
| Assignee | ||
Comment 1•2 years ago
|
||
Split LegacyInitializeObject into two separate functions in preparation for the
next part.
Drive-by change:
Remove notes about constructors cached in "Utilities.js" which does no longer
apply to the current code.
Depends on D189537
| Assignee | ||
Comment 2•2 years ago
|
||
Implements the changes from https://github.com/tc39/ecma402/pull/709.
The intl_DateTimeFormat self-hosted function is replaced with intl_CreateDateTimeFormat,
which implements the new CreateDateTimeFormat abstract operation from the spec.
intl_CreateDateTimeFormat calls into the existing InitializeDateTimeFormat function
to actually initialise the newly created date-time formatter.
Depends on D189538
| Assignee | ||
Comment 3•2 years ago
|
||
Updates spec step comments and variable names to match more recent spec draft texts.
The step comments probably no longer match the most recent spec, but it's currently
difficult to keep them updated, because there are multiple open spec PRs to refactor
this part of the spec.
Depends on D189539
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3a208f8c06e1
https://hg.mozilla.org/mozilla-central/rev/c1042546a44b
https://hg.mozilla.org/mozilla-central/rev/c3b811d29db0
Updated•2 years ago
|
Description
•