[Intl] Fix Intl.getCanonicalLocales("mo")
Fix 'intl402/Intl/getCanonicalLocales/non-iana-canon' Add "mo" to IsDeprecatedLanguage list. Bug: v8:8849 Change-Id: I414f2a86fd18719ddcce07e9cbcb20caa6459acd Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1504772 Commit-Queue: Frank Tang <ftang@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#60107}
This commit is contained in:
parent
1f5ece9ba2
commit
6b0896abf7
@ -691,7 +691,8 @@ bool IsTwoLetterLanguage(const std::string& locale) {
|
||||
|
||||
bool IsDeprecatedLanguage(const std::string& locale) {
|
||||
// Check if locale is one of the deprecated language tags:
|
||||
return locale == "in" || locale == "iw" || locale == "ji" || locale == "jw";
|
||||
return locale == "in" || locale == "iw" || locale == "ji" || locale == "jw" ||
|
||||
locale == "mo";
|
||||
}
|
||||
|
||||
// Reference:
|
||||
|
@ -504,9 +504,6 @@
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7472
|
||||
'intl402/NumberFormat/currency-digits': [FAIL],
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=8849
|
||||
'intl402/Intl/getCanonicalLocales/non-iana-canon': [FAIL],
|
||||
|
||||
# https://bugs.chromium.org/p/v8/issues/detail?id=7483
|
||||
'annexB/built-ins/Function/createdynfn-html-close-comment-params': [FAIL],
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user