Opened 5 weeks ago

Last modified 2 weeks 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:

Description

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 2 weeks ago by intrigeri

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