Bug 230199
| Summary: | [Regression] String.prototype.localeCompare() wrong results when comparing lowercase and uppercase string | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Binyamin <7raivis> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | CC: | 7raivis, ap, kevin_neal, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 11 | ||
Binyamin
This is regression bug, was working as expected on Safari 13.1.2.
All browsers (Chrome, Firefox, IE11, Safari 13.1.2) would result 1 for "lklhY8Lwzs".localeCompare("Lbt9ZT"), when latest Safari 14.1.2 results -1
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
What language do you have the OS set to?
FWIW, I can't reproduce on Monterey with the OS set to English (UK).
Binyamin
I experienced this issue on BrowserStack Mac Big Sur Safari 14.1.2. I think its locale is US English or International English.
Radar WebKit Bug Importer
<rdar://problem/83156084>
Yusuke Suzuki
Thanks! It is fixed in bug 215798.
Please check that it is fixed in Safari Technology Preview :)
*** This bug has been marked as a duplicate of bug 215798 ***
Yusuke Suzuki
Ah, no bug 224047 :)
*** This bug has been marked as a duplicate of bug 224047 ***