ApplyUnicodeExtensionToTag
and ResolveLocale
set the result
record's internal slots to non-canonical values
#707
Labels
Milestone
In
ApplyUnicodeExtensionToTag
andResolveLocale
, we loop over the provided relevant extension keys, and set the corresponding internal slot of theresult
record to the value present in either the locale string oroptions
object:This happens before the values are canonicalized via
InsertUnicodeExtensionAndCanonicalize
:Thus, the locale string of the corresponding Intl object is canonicalized, but the extension key internal slots are non-canonical.
The formatjs polyfill shows this issue:
That prints:
test262 expects
loc.calendar
to be canonicalized (and that is how v8 and spidermonkey already behave).The text was updated successfully, but these errors were encountered: