[Webkit-unassigned] [Bug 224047] localeCompare does not define a total ordering on all strings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 6 11:40:15 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224047

--- Comment #1 from Eben Packwood <ebenpackwood at gmail.com> ---
It appears as if the issue is that `localeCompare` does not define a total ordering for strings, as required in the ECMAScript standard (https://tc39.es/ecma262/#sec-string.prototype.localecompare).

E.g. 

```
"AB - AS Foobar".localeCompare("AB - AS Pulheim Käther") === -1;
"AB - AS Pulheim Käther".localeCompare("Abz - Baz Qux") === -1;
"Abz - Baz Qux".localeCompare("AB - AS Foobar") === -1;
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210406/95d01b05/attachment.htm>


More information about the webkit-unassigned mailing list