зеркало из https://github.com/mozilla/gecko-dev.git
dd679562b1
Original issue is that Microsoft Dynamics CRM uses invalid lang attribute in <xsl:sort>. <xsl:sort order="descending" select="@displayname[$sortColumnName='displayname'] | @name[$sortColumnName='name'] | exslt:node-set($FriendlyTypeNames)/types/type[@xmlName=current()/@datatype and $sortColumnName='datatype']" lang="$languageName"/> Our XSLT implementation detects "$languageName" as locale name, then use it to nsICollation. Until Gecko 54 for Windows, even if using invalid locale name for nsICollation, it uses platform locale as fallback. But from 55, we use same implementation as macOS's to use ICU. So this issue occurs. ICU implementation doesn't use fallback locale if it is invalid. We should use fallback locale if locale is invalid. Most code for fallback locale such as FallbackEncoding uses application locale, so use it. MozReview-Commit-ID: EKYkZG7Hnz0 --HG-- extra : rebase_source : fec89c67317d7df041f3b237122fb7e20e32fe1b |
||
---|---|---|
.. | ||
build | ||
chardet | ||
encoding_glue | ||
gtest | ||
hyphenation | ||
icu | ||
icu-patches | ||
l10n | ||
locale | ||
locales | ||
lwbrk | ||
strres | ||
tzdata | ||
uconv | ||
unicharutil | ||
Encoding.h | ||
icu_sources_data.py | ||
moz.build | ||
update-icu.sh | ||
update-tzdata.sh |