mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
38702d6746
On Android, String.prototype.localeCompare ends up calling strcoll(), which results in an undesirable sort order for search engines. This patch alters nsSearchService to use nsICollation.compareString directly, which should yield a consistent order across all platforms. We use kCollationCaseInsensitiveAscii, which ignores case on ASCII characters but preserves ordering between accented and non-accented characters. We can revisit this decision if necessary. |
||
---|---|---|
.. | ||
tests/xpcshell | ||
moz.build | ||
nsSearchService.js | ||
nsSearchSuggestions.js | ||
SearchStaticData.jsm | ||
SearchSuggestionController.jsm | ||
toolkitsearch.manifest |