Open schuay opened 3 years ago
cc @jugglinmike @anba
Improving coverage always sounds good to me!
Here's a few tips for anyone who wants to take up the cause:
String.prototype.localeCompare
method in two different places: test/intl402/String/prototype/localeCompare/
and test/built-ins/String/prototype/localeCompare/
. New tests should go in the former directory if they concern normative text in ECMA402, and they should go in the latter if they concern normative text in ECMA262.description
metadata explains their intent
The current coverage seems fairly basic and is missing many relevant special cases. I'd suggest to pull in at JSC's https://github.com/WebKit/WebKit/blob/main/JSTests/stress/string-localeCompare.js.
Besides that, it may make sense to add further coverage.
cc @mathiasbynens @FrankYFTang