From 76cb3efe3b19e649bf675bb6ec5d4af8109b9771 Mon Sep 17 00:00:00 2001 From: Iulian Moraru Date: Wed, 31 Jan 2024 19:26:54 +0200 Subject: [PATCH] Backed out changeset c3355d01fddd (bug 1875313) for causing build bustages on CUUtils.cpp. CLOSED TREE --- intl/unicharutil/util/ICUUtils.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/intl/unicharutil/util/ICUUtils.cpp b/intl/unicharutil/util/ICUUtils.cpp index 78093ba9e86e3..9b05d4ab3610e 100644 --- a/intl/unicharutil/util/ICUUtils.cpp +++ b/intl/unicharutil/util/ICUUtils.cpp @@ -41,10 +41,7 @@ already_AddRefed ICUUtils::LanguageTagIterForContent::GetNext() { if (mCurrentFallbackIndex < 2) { mCurrentFallbackIndex = 2; - // Else take the app's locale (or en-US, if spoof English applies): - if (mContent->OwnerDoc->ShouldResistFingerprinting(RFPTarget::JSLocale)) { - return NS_Atomize("en-US"); - } + // Else take the app's locale: nsAutoCString appLocale; LocaleService::GetInstance()->GetAppLocaleAsBCP47(appLocale); return NS_Atomize(appLocale);