Commit b8f002ce authored by Jakob Gruber's avatar Jakob Gruber Committed by V8 LUCI CQ

[intl] Extend the localeCompare locale whitelist

.. for convenience in local testing.

Bug: v8:12196
Change-Id: I12d772edee69acba45f71dc1960f3023a79798a2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3268739
Auto-Submit: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77811}
parent 7b68ff62
......@@ -947,8 +947,9 @@ Intl::CompareStringsOptions Intl::CompareStringsOptionsFor(
// The actual conditions are verified in debug builds in
// CollatorAllowsFastComparison.
static const char* const kFastLocales[] = {
"en-US", "en", "fr", "es", "de", "pt", "it", "ca", "de-AT", "fi",
"id", "id-ID", "ms", "nl", "pl", "ro", "sl", "sv", "sw", "vi",
"en-US", "en", "fr", "es", "de", "pt", "it", "ca",
"de-AT", "fi", "id", "id-ID", "ms", "nl", "pl", "ro",
"sl", "sv", "sw", "vi", "en-DE", "en-GB",
};
if (locales->IsUndefined(isolate)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment