Skip to content

Commit

Permalink
Bug 1875313 - Use en-US as a fallback when spoof English is enabled i…
Browse files Browse the repository at this point in the history
…n ICUUtils. r=timhuang,tjr

Differential Revision: https://phabricator.services.mozilla.com/D198967

UltraBlame original commit: c3355d01fddd88418fbc1cd812370953743ffb73
  • Loading branch information
marco-c committed Feb 1, 2024
1 parent 89c1119 commit a8a8c27
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions intl/unicharutil/util/ICUUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,34 @@ mCurrentFallbackIndex
=
2
;
if
(
mContent
-
>
OwnerDoc
-
>
ShouldResistFingerprinting
(
RFPTarget
:
:
JSLocale
)
)
{
return
NS_Atomize
(
"
en
-
US
"
)
;
}
nsAutoCString
appLocale
;
Expand Down

0 comments on commit a8a8c27

Please sign in to comment.