Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68c5d71c510d54631b1e34f53a10ad64e6911ace
      
https://github.com/WebKit/WebKit/commit/68c5d71c510d54631b1e34f53a10ad64e6911ace
  Author: Tim Horton <[email protected]>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M Source/WebCore/page/ContextMenuController.cpp
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Don't show STTF generation in the context menu for non-HTTP URLs
https://bugs.webkit.org/show_bug.cgi?id=278890
rdar://134830459

Reviewed by Richard Robinson.

* Source/WebCore/page/ContextMenuController.cpp:
(WebCore::ContextMenuController::shouldEnableCopyLinkToHighlight const):
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView shouldAllowHighlightLinkCreation]):
(-[WKContentView scrollToTextFragmentGenerationMenu]):
Disable the menu on both platforms for non-HTTP URLs.

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