Implement Intl.Locale
Categories
(Core :: JavaScript: Internationalization API, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: zbraniecki, Assigned: anba)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, parity-chrome)
Attachments
(5 files, 8 obsolete files)
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Assignee | ||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Assignee | ||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Assignee | ||
Comment 14•7 years ago
|
||
Assignee | ||
Comment 15•7 years ago
|
||
Assignee | ||
Comment 16•7 years ago
|
||
Assignee | ||
Comment 17•7 years ago
|
||
Reporter | ||
Comment 18•7 years ago
|
||
Assignee | ||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Updated•7 years ago
|
Comment 23•6 years ago
|
||
Assignee | ||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Reporter | ||
Comment 27•6 years ago
|
||
Assignee | ||
Comment 28•6 years ago
|
||
Comment 29•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?
Assignee | ||
Comment 30•6 years ago
|
||
The spec proposal changed which invalidated parts of the patches attached here. New patches will depend on bug 1522070 being fixed.
Comment 31•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?
Assignee | ||
Updated•6 years ago
|
Comment 33•6 years ago
|
||
This feature has shipped on Chrome 74, so maybe a "chrome-parity" tag is needed.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 34•6 years ago
|
||
Intl.Locale.m{ax,in}imize() are implemented in a part 2.
Assignee | ||
Comment 35•6 years ago
|
||
Depends on D38874
Assignee | ||
Comment 36•6 years ago
|
||
Depends on D38875
Assignee | ||
Comment 37•6 years ago
|
||
Depends on D38876
Assignee | ||
Comment 38•6 years ago
|
||
Depends on D38877
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 39•6 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3965eabcba8c8f9a2aa6e8c4cd3aa4bfc83fc39c
Comment 40•6 years ago
|
||
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2311af7fcff5
Part 1: Implement Intl.Locale proposal. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/c21e82e313c4
Part 2: Add Intl.Locale minimize() and maximize() functions. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/56d8838cd081
Part 3: Tests for Intl.Locale proposal. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/90f6092b76dd
Part 4: Enable test2626 tests for Intl.Locale proposal. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/6c3d3ce32b08
Part 5: Reimport test262 for Intl.Locale tests. r=jwalden
Comment 41•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2311af7fcff5
https://hg.mozilla.org/mozilla-central/rev/c21e82e313c4
https://hg.mozilla.org/mozilla-central/rev/56d8838cd081
https://hg.mozilla.org/mozilla-central/rev/90f6092b76dd
https://hg.mozilla.org/mozilla-central/rev/6c3d3ce32b08
Comment 42•5 years ago
|
||
If I see it correctly, this isn't enabled by default and thus not shipping in Firefox 70, right?
Is there a bug filed to actually ship this?
Assignee | ||
Comment 43•5 years ago
|
||
There are some (minor) issues reported to the proposal Github page and while those probably shouldn't result in any breaking changes, it'd still be nice if the proposal champions could address them. (The main proposal champion was on break till September, so I assume he's still working on his backlog.) Well, maybe we could move Intl.Locale
to nightly-only in the meantime?
Comment 44•5 years ago
|
||
Nightly-only isn't crazy, for sure. However -- I think we should get bug 1570370 landed before we enable anything.
There's certainly some value to shipping just to ship. But it seems not entirely helpful in any other aspect to ship code that's a dead end implementation-wise.
If we're going to do parsing and other work in C++ in the long run, and in the medium run, and in the short run too, we should just do it before shipping, even in nightly. Then anyone experimenting will be hammering on the thing we will be using well into the future, not a thing that's gonna die whenever anba finds time to respond to my review comments. :-)
Comment 45•5 years ago
|
||
Update since comment 44 -- the C++ changes landed, but working through those revealed to me (anba I'm sure already recognized them 'cause he's way more into the weeds on this than I am :-) ) a few spec concerns that I'm not comfortable shipping til they're resolved. Perhaps most importantly, the current spec has two different ways to canonically represent language tags, with a distinction that is super-confusing and super-difficult to reasonably explain to web developers IMO. Once those are resolved, I think we can consider moving forward again.
Reporter | ||
Comment 46•5 years ago
|
||
Anba - do you consider Intl.Locale
to be stable enough to be exposed to the web content? It's exposed in V8.
Assignee | ||
Comment 47•5 years ago
|
||
See Waldo's comment in comment #45.
Comment 48•5 years ago
|
||
The concerns I noted in comment 45 have been resolved by a recent TR35 update that removes the special canonicalization requirements. So there is now only one way to canonicalize, again. And once we implement that, I think we can ship this. I filed bug 1596544 to do so.
Comment 49•5 years ago
|
||
For docs, see https://bugzilla.mozilla.org/show_bug.cgi?id=1613713#c9
Description
•