Implement Intl.ListFormat
Categories
(Core :: JavaScript: Internationalization API, enhancement, P3)
Tracking
()
People
(Reporter: zbraniecki, Assigned: anba)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, parity-chrome)
Attachments
(4 files, 1 obsolete file)
Updated•8 years ago
|
Updated•8 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 5•7 years ago
|
||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•6 years ago
|
||
This has shipped on Chrome 72, so maybe a "chrome-parity" tag is needed.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 12•6 years ago
|
||
RelativeTimeFormat.cpp doesn't call getInternals()
with an unresolved
internals object, so this didn't blow up in the past.
Drive-by fixes:
GlobalObject::createConstructor
is a static function, so it doesn't need to
be called with an instance.- Remove the unused "methodName" argument from
getRelativeTimeFormatInternals
.
Assignee | ||
Comment 13•6 years ago
|
||
"disjunction" and "unit" types aren't yet supported, because ICU doesn't
provide a C-API for this functionality. "short" and "narrow" styles aren't
supported for the same reason.
Depends on D40436
Assignee | ||
Comment 14•6 years ago
|
||
Depends on D40437
Assignee | ||
Comment 15•6 years ago
|
||
Depends on D40438
Assignee | ||
Updated•6 years ago
|
Comment 16•6 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:anba, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 17•6 years ago
|
||
Try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a1c7f5516042c6065a38ff29ec6185aabf22b923
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fdc65eff0bf0353ccad40986ef3694c160ccc873
Comment 18•6 years ago
|
||
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b818a65ca8da
Part 1: Handle RelativeTimeFormat in getInternals and some clean-ups. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/d701e5149249
Part 2: Implement Intl.ListFormat stage 3 proposal. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/78466d478f09
Part 3: Enable test262 tests for Intl.ListFormat. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/383e2052153e
Part 4: Reimport test262 tests. r=jwalden
Comment 19•6 years ago
|
||
Hey anba, are you dealing with https://github.com/tc39/proposal-intl-list-format/issues/45 already?
Assignee | ||
Comment 20•6 years ago
|
||
The patch doesn't actually enable Intl.ListFormat by default, but instead it needs to be manually added to the Intl object through the shell-only helper function addIntlExtras
. Shipping Intl.ListFormat is right now blocked by bug 1589095 and probably also the open proposal resp. CLDR issue you've linked to. (I've only landed the patches because they've already been reviewed and to get them out of my queue.)
Comment 21•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b818a65ca8da
https://hg.mozilla.org/mozilla-central/rev/d701e5149249
https://hg.mozilla.org/mozilla-central/rev/78466d478f09
https://hg.mozilla.org/mozilla-central/rev/383e2052153e
Updated•6 years ago
|
Comment 22•5 years ago
|
||
(In reply to André Bargull [:anba] from comment #20)
The patch doesn't actually enable Intl.ListFormat by default, but instead it needs to be manually added to the Intl object through the shell-only helper function
addIntlExtras
. Shipping Intl.ListFormat is right now blocked by bug 1589095 and probably also the open proposal resp. CLDR issue you've linked to. (I've only landed the patches because they've already been reviewed and to get them out of my queue.)
Bug 1589095 landed a couple of weeks ago. Is this still blocked on the CLDR issue?
Assignee | ||
Comment 23•5 years ago
|
||
No, it's no longer blocked by the CLDR issue. A workaround was added to ICU to properly support Spanish (and Hebrew). As part of bug 1589095, Intl.ListFormat
was enabled by default and will be available starting Firefox 78.
Comment 24•5 years ago
|
||
(In reply to André Bargull [:anba] from comment #23)
No, it's no longer blocked by the CLDR issue. A workaround was added to ICU to properly support Spanish (and Hebrew). As part of bug 1589095,
Intl.ListFormat
was enabled by default and will be available starting Firefox 78.
Thank you
Comment 25•5 years ago
|
||
For docs, see https://bugzilla.mozilla.org/show_bug.cgi?id=1589095#c7
Description
•