Unify js::intl_GetLocaleInfo
Categories
(Core :: Internationalization, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: gregtatum, Assigned: anba)
References
Details
(Whiteboard: [i18n-unification], [i18n-unification-help-wanted])
Attachments
(3 files)
Work Amount: Small
What it is: uloc_isRightToLeft
Searchfox: https://searchfox.org/mozilla-central/source/js/src/builtin/intl/IntlObject.cpp#497
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Bug 1693576 will add a similar functionality: intl_GetLocaleInfo
calls uloc_isRightToLeft
to determine LTR or RTL, whereas bug 1693576 calls uloc_getCharacterOrientation
. Unfortunately I couldn't find where intl_GetLocaleInfo
is actually used, outside of test code (https://searchfox.org/mozilla-central/search?q=symbol:%23getLocaleInfo&redirect=false), so I can't tell if this difference is relevant.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Ah, it looks like all callers were removed in bug 1673054, so we can simply remove intl_GetLocaleInfo
Assignee | ||
Comment 3•3 years ago
|
||
getLocaleInfo
is never used outside of test code, so we can simply remove it.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D125160
Assignee | ||
Comment 5•3 years ago
|
||
This function is no longer used after parts 1-2.
Depends on D125163
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e5180c12a46b
https://hg.mozilla.org/mozilla-central/rev/76596947c241
https://hg.mozilla.org/mozilla-central/rev/561ed5ccdd24
Description
•