https://github.com/tc39/ecma402/issues/380 We have consensus.
https://github.com/tc39/ecma402/pull/459
Created attachment 408797 [details] Patch
Comment on attachment 408797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=408797&action=review r=me > Source/JavaScriptCore/runtime/IntlCollator.cpp:185 > + throwRangeError(globalObject, scope, "collation must be unicode-locale-identifier's \"type\""_s); Hmm, we shouldn't require the user to know Unicode spec productions. 😅 To match what we've done in other Intl classes, I would suggest "collation is not a well-formed collation value".
Comment on attachment 408797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=408797&action=review Thanks! >> Source/JavaScriptCore/runtime/IntlCollator.cpp:185 >> + throwRangeError(globalObject, scope, "collation must be unicode-locale-identifier's \"type\""_s); > > Hmm, we shouldn't require the user to know Unicode spec productions. 😅 > To match what we've done in other Intl classes, I would suggest "collation is not a well-formed collation value". That's good! Changed.
Committed r267102: <https://trac.webkit.org/changeset/267102>
<rdar://problem/68943945>