Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cafff28b06f9519049a5981eeb86ebd66fdcabb
      
https://github.com/WebKit/WebKit/commit/2cafff28b06f9519049a5981eeb86ebd66fdcabb
  Author: IanG <[email protected]>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M Source/WTF/wtf/URLHelpers.cpp
    M Tools/TestWebKitAPI/Tests/WTF/cocoa/URLExtras.mm

  Log Message:
  -----------
  Determining that a character is Arabic may be wrong
https://bugs.webkit.org/show_bug.cgi?id=293920
rdar://6677040

Reviewed by Alexey Proskuryakov and Brent Fulgham.

Updated check for Arabic in Arabic block to check against U_SCRIPT_ARABIC, with 
error handling. Added test cases that demonstrate improved behavior.

* Source/WTF/wtf/URLHelpers.cpp:
(WTF::URLHelpers::isLookalikeSequence<USCRIPT_ARABIC>):
* Tools/TestWebKitAPI/Tests/WTF/cocoa/URLExtras.mm:
(TestWebKitAPI::TEST(URLExtras, URLExtras_NotSpoofed)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to