Closed Bug 1728182 Opened 3 years ago Closed 3 years ago

Unify js::intl_GetLocaleInfo

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
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

Whiteboard: [i18n-unification-help-wanted]

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.

Whiteboard: [i18n-unification-help-wanted] → [i18n-unification], [i18n-unification-help-wanted]

Ah, it looks like all callers were removed in bug 1673054, so we can simply remove intl_GetLocaleInfo

getLocaleInfo is never used outside of test code, so we can simply remove it.

Assignee: nobody → andrebargull
Status: NEW → ASSIGNED

This function is no longer used after parts 1-2.

Depends on D125163

Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e5180c12a46b Part 1: Remove getLocaleInfo from dom. r=platform-i18n-reviewers,dminor,webidl,emilio https://hg.mozilla.org/integration/autoland/rev/76596947c241 Part 2: Remove getLocaleInfo from toolkit. r=platform-i18n-reviewers,dminor https://hg.mozilla.org/integration/autoland/rev/561ed5ccdd24 Part 3: Remove getLocaleInfo from SpiderMonkey. r=platform-i18n-reviewers,dminor
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: