Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c52e971ff6541f8aed2ce6e200f99c6b731448d3
      
https://github.com/WebKit/WebKit/commit/c52e971ff6541f8aed2ce6e200f99c6b731448d3
  Author: Chris Dumez <[email protected]>
  Date:   2025-12-31 (Wed, 31 Dec 2025)

  Changed paths:
    M Source/WTF/wtf/SortedArrayMap.h
    M Tools/TestWebKitAPI/Tests/WTF/SortedArrayMap.cpp

  Log Message:
  -----------
  Fix subtle bug in SortedArrayMap's lessThanASCIICaseFolding()
https://bugs.webkit.org/show_bug.cgi?id=304797

Reviewed by Anne van Kesteren and Darin Adler.

Fix subtle bug in SortedArrayMap's lessThanASCIICaseFolding() where it would
treat "ab" as greater than "abc", even though it is shorter.

Test: Tools/TestWebKitAPI/Tests/WTF/SortedArrayMap.cpp

* Source/WTF/wtf/SortedArrayMap.h:
(WTF::lessThanASCIICaseFolding):
* Tools/TestWebKitAPI/Tests/WTF/SortedArrayMap.cpp:
(TEST(WTF, LessThanASCIICaseFoldingDirectComparison)):

Canonical link: https://commits.webkit.org/305019@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to