test262/test/intl402
Frank Yung-Fong Tang 642929b2a3 correct value that matches languageAlias in
Per  https://tc39.github.io/ecma402/#sec-canonicalizelanguagetag
6.2.3 CanonicalizeLanguageTag ( locale )
The CanonicalizeLanguageTag abstract operation returns the canonical and case-regularized form of the locale argument (which must be a String value that is a structurally valid Unicode BCP 47 Locale Identifier as verified by the IsStructurallyValidLanguageTag abstract operation). A conforming implementation shall take the steps specified in the “BCP 47 Language Tag to Unicode BCP 47 Locale Identifier” algorithm, from Unicode Technical Standard #35 LDML § 3.3.1 BCP 47 Language Tag Conversion.

And
http://unicode.org/reports/tr35/#BCP_47_Language_Tag_Conversion
"
2. If the BCP 47 primary language subtag matches the type attribute of a languageAlias element in Supplemental Data, replace the language subtag with the replacement value.
If there are additional subtags in the replacement value, add them to the result, but only if there is no corresponding subtag already in the tag.
"
and
https://www.unicode.org/repos/cldr/trunk/common/supplemental/supplementalMetadata.xml
...
<languageAlias type="aar" replacement="aa" reason="overlong"/>
 <!--  [Afar]  -->
...
<languageAlias type="ces" replacement="cs" reason="overlong"/>
 <!--  [Czech]  -->
...
<languageAlias type="heb" replacement="he" reason="overlong"/>
 <!--  [Hebrew]  -->
2019-02-14 15:07:54 -05:00
..
Array/prototype/toLocaleString Various test cases for cross-browser compliance bugs 2018-05-03 09:27:27 -07:00
Collator Change test for -kn (#1995) 2019-01-24 12:45:49 -05:00
Date/prototype Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
DateTimeFormat Merge pull request #1937 from ryzokuken/dtf-constructor-options-toobject 2018-11-08 09:25:28 -05:00
Intl correct values matches type of languageAlias 2019-02-14 15:07:31 -05:00
ListFormat Change tests according to ecma402/pull/278 (#2031) 2019-01-18 14:15:37 -02:00
Locale correct value that matches languageAlias in 2019-02-14 15:07:54 -05:00
Number/prototype/toLocaleString Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty 2018-05-18 12:35:06 -04:00
NumberFormat Fix the rounding issue (#2027) 2019-01-28 11:52:50 -05:00
PluralRules Intl: Add tests for table iteration order. 2018-10-17 12:59:38 -04:00
RelativeTimeFormat Add "numberingSystem" to resolvedOptions() (#2011) 2019-01-28 10:59:54 -05:00
Segmenter Fix missing ) (#2059) 2019-01-31 10:49:27 -07:00
String/prototype Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
TypedArray/prototype/toLocaleString Various test cases for cross-browser compliance bugs 2018-05-03 09:27:27 -07:00
constructors-string-and-single-element-array.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
constructors-taint-Object-prototype-2.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
constructors-taint-Object-prototype.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
default-locale-is-canonicalized.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
default-locale-is-supported.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
fallback-locales-are-supported.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
language-tags-canonicalized.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
language-tags-invalid.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
language-tags-valid.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
language-tags-with-underscore.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-consistent-with-resolvedOptions.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-default-locale-and-zxx-locale.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-duplicate-elements-removed.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-empty-and-undefined.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-locales-arg-coered-to-object.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-locales-arg-empty-array.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-returned-array-elements-are-not-frozen.js Change tests according to ecma402/pull/278 (#2031) 2019-01-18 14:15:37 -02:00
supportedLocalesOf-taint-Array-2.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-taint-Array.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-test-option-localeMatcher.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-throws-if-element-not-string-or-object.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
supportedLocalesOf-unicode-extensions-ignored.js Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00