diff --git a/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js b/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js index 289baaaa14..21f6d873fd 100644 --- a/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js +++ b/test/intl402/Intl/getCanonicalLocales/canonicalized-tags.js @@ -37,13 +37,13 @@ var canonicalizedTags = { "es-419-u-nu-latn": "es-419-u-nu-latn", "cmn-hans-cn-u-ca-t-ca-x-t-u": "zh-Hans-CN-t-ca-u-ca-x-t-u", "de-gregory-u-ca-gregory": "de-gregory-u-ca-gregory", - "sgn-GR": "gss", + "sgn-GR": "sgn-GR", "ji": "yi", "de-DD": "de-DE", "in": "id", "sr-cyrl-ekavsk": "sr-Cyrl-ekavsk", "en-ca-newfound": "en-CA-newfound", - "sl-rozaj-biske-1994": "sl-rozaj-biske-1994", + "sl-rozaj-biske-1994": "sl-1994-biske-rozaj", "da-u-attr": "da-u-attr", "da-u-attr-co-search": "da-u-attr-co-search", }; diff --git a/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js b/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js index f3c91b9150..2ecaf5f9ea 100644 --- a/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js +++ b/test/intl402/Intl/getCanonicalLocales/preferred-grandfathered.js @@ -62,7 +62,7 @@ var regularGrandfatheredNonUTS35 = [ var regularGrandfatheredUTS35 = { "art-lojban": "jbo", - "cel-gaulish": "und-x-cel-gaulish", + "cel-gaulish": "xtg-x-cel-gaulish", "zh-guoyu": "zh", "zh-hakka": "hak", "zh-xiang": "hsn", diff --git a/test/intl402/Intl/getCanonicalLocales/preferred-variant.js b/test/intl402/Intl/getCanonicalLocales/preferred-variant.js index bb2c4cd9e0..df28a73fe4 100644 --- a/test/intl402/Intl/getCanonicalLocales/preferred-variant.js +++ b/test/intl402/Intl/getCanonicalLocales/preferred-variant.js @@ -39,7 +39,9 @@ includes: [testIntl.js] // Generated from http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry // File-Date: 2017-08-15 var canonicalizedTags = { - "ja-latn-hepburn-heploc": "ja-Latn-alalc97", + // ECMA-402 currently requires that variant subtags are not canonicalized. + // https://github.com/tc39/ecma402/issues/330 + "ja-latn-hepburn-heploc": "ja-Latn-hepburn-heploc", }; // make sure the data above is correct