Opened 4 months ago

Last modified 3 months ago

#31767 new defect

Avoid using intl.locale.requested pref directly

Reported by: acat Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: ff68-esr
Cc: intrigeri Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We wrongly assume that intl.locale.requested contains just a single locale, but it's actually a list of locales if more than one language pack is installed (which we are allowing for now).

We should probably use JS API Services.locale.requestedLocale and the appropriate C++ API (need to check) instead of using intl.locale.requested value. This affects "torbutton" code and patch for #14631.

Child Tickets

Change History (1)

comment:1 Changed 3 months ago by intrigeri

Cc: intrigeri added
Note: See TracTickets for help on using tickets.