blob: c9e1bd3951e542b7218e0d9c0d5e19f50f25569b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// |reftest| skip-if(!this.hasOwnProperty("Intl"))
// <subdivisionAlias type="frg" replacement="frges" reason="deprecated"/>
assertEq(Intl.getCanonicalLocales("fr-u-rg-frg")[0], "fr-u-rg-frges");
assertEq(Intl.getCanonicalLocales("fr-u-sd-frg")[0], "fr-u-sd-frges");
// <subdivisionAlias type="frgf" replacement="GF" reason="overlong"/>
assertEq(Intl.getCanonicalLocales("fr-u-rg-frgf")[0], "fr-u-rg-gfzzzz");
assertEq(Intl.getCanonicalLocales("fr-u-sd-frgf")[0], "fr-u-sd-gfzzzz");
if (typeof reportCompare === "function")
reportCompare(true, true);
|