Cherrypick Locale canonicalization fix

cl for chrome/src/DEPS in https://chromium-review.googlesource.com/c/chromium/src/+/2582536

Bug: v8:10447
Change-Id: I28452cab64f000aa8cc466290ffcc97aa0b41f78
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2583189
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Auto-Submit: Frank Tang <ftang@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71702}
This commit is contained in:
Frank Tang 2020-12-09 15:16:14 -08:00 committed by Commit Bot
parent 84f96903b5
commit 71e68fe4ed
3 changed files with 4 additions and 6 deletions

2
DEPS
View File

@ -92,7 +92,7 @@ deps = {
'third_party/depot_tools':
Var('chromium_url') + '/chromium/tools/depot_tools.git' + '@' + '99b0e4a5f4c0b7223e0c6383e3e6d433ffe4e89e',
'third_party/icu':
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '6a33b647c0647c3eb97eae5432153ef2dfca7baa',
Var('chromium_url') + '/chromium/deps/icu.git' + '@' + '5c3a0b95802abf409c686ed3534dd46296c1dfb5',
'third_party/instrumented_libraries':
Var('chromium_url') + '/chromium/src/third_party/instrumented_libraries.git' + '@' + '4d3867052d35b2171f2edbb3466fa8f7e2d11319',
'buildtools':

View File

@ -7,7 +7,7 @@
// tag registry. Nonetheless, ICU cooks up a value when canonicalizing.
// v8 works around that ICU issue.
// See https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry .
["cel-gaulish", "xtg-x-cel-gaulish"],
["cel-gaulish", "xtg"],
// Matching should be case-insensitive.
].forEach(([inputLocale, expectedLocale]) => {

View File

@ -549,6 +549,8 @@
# https://github.com/tc39/test262/pull/2903
'intl402/Intl/getCanonicalLocales/canonicalized-tags': [FAIL],
'intl402/Intl/getCanonicalLocales/preferred-variant': [FAIL],
'intl402/Intl/getCanonicalLocales/preferred-grandfathered': [FAIL],
'intl402/Locale/extensions-grandfathered': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=9613
'intl402/Locale/likely-subtags-grandfathered': [FAIL],
@ -557,10 +559,6 @@
'intl402/Locale/reject-duplicate-variants-in-tlang': [FAIL],
# http://crbug/v8/10447
'intl402/Intl/getCanonicalLocales/transformed-ext-canonical': [FAIL],
'intl402/Intl/getCanonicalLocales/transformed-ext-invalid': [FAIL],
'intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-region': [FAIL],
'intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-subdivision': [FAIL],
'intl402/Intl/getCanonicalLocales/unicode-ext-canonicalize-yes-to-true': [FAIL],
# https://bugs.chromium.org/p/v8/issues/detail?id=9818