mirror of https://github.com/tc39/test262.git
9997a26c7d
* Fix test for only {localeMatcher: "lookup"} The expectation that "sr-Thai-RS" would be returned is only true with the 9.2.2 BestAvailableLocale ( availableLocales, locale ) https://tc39.es/ecma402/#sec-bestavailablelocale algorithm used by 9.2.3 LookupMatcher ( availableLocales, requestedLocales ) https://tc39.es/ecma402/#sec-lookupmatcher The default for localeMatcher is "best fit" but not "lookup" for all Intl objects. And for 9.2.4 BestFitMatcher ( availableLocales, requestedLocales ) https://tc39.es/ecma402/#sec-bestfitmatcher It may not match "sr-Thai-RS" for "sr" and return ["de", "zh-CN"] instead. Therefore, we need to change this test to only test on {localeMatcher: "lookup"} * Add option to getLocaleSupportInfo Needed to test different localeMatcher * only test for "lookup" localeMatcher * Get the info based on the localeMatcher * pass in localeMatcher to getLocaleSupportInfo |
||
---|---|---|
.. | ||
arrayContains.js | ||
assert.js | ||
assertRelativeDateMs.js | ||
async-gc.js | ||
atomicsHelper.js | ||
byteConversionValues.js | ||
compareArray.js | ||
compareIterator.js | ||
dateConstants.js | ||
decimalToHexString.js | ||
deepEqual.js | ||
detachArrayBuffer.js | ||
doneprintHandle.js | ||
features.yml | ||
fnGlobalObject.js | ||
hidden-constructors.js | ||
isConstructor.js | ||
nans.js | ||
nativeFunctionMatcher.js | ||
promiseHelper.js | ||
propertyHelper.js | ||
proxyTrapsHelper.js | ||
regExpUtils.js | ||
sta.js | ||
tcoHelper.js | ||
testAtomics.js | ||
testBigIntTypedArray.js | ||
testIntl.js | ||
testTypedArray.js | ||
timer.js | ||
typeCoercion.js | ||
wellKnownIntrinsicObjects.js |