Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 714c20614f9c5b0b72363255d0559b257fe30c07
      
https://github.com/WebKit/WebKit/commit/714c20614f9c5b0b72363255d0559b257fe30c07
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm

  Log Message:
  -----------
  [iOS] _WKWarningView should stop using deprecated UITextItemInteraction API
https://bugs.webkit.org/show_bug.cgi?id=294828
rdar://106668003

Reviewed by Wenson Hsieh and Megan Gardner.

This patch drops usage of the UITextItemInteraction API, which has been
deprecated since iOS 17, and instead adopts UITextView API
`-textView:primaryActionForTextItem:defaultAction:` and
`-textView:menuConfigurationForTextItem:defaultMenu:` instead.

No new tests since this does not change functionality. Test coverage in
the TestWebKitAPI.WebKit.SafeBrowsing suite suffices.

* Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm:
(-[_WKWarningView textView:primaryActionForTextItem:defaultAction:]):
(-[_WKWarningView textView:menuConfigurationForTextItem:defaultMenu:]):
(-[_WKWarningView textView:shouldInteractWithURL:inRange:interaction:]): 
Deleted.

Canonical link: https://commits.webkit.org/296522@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