Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 101cda37cddc0d04789cca1c0ac3a217ebb69dd6
      
https://github.com/WebKit/WebKit/commit/101cda37cddc0d04789cca1c0ac3a217ebb69dd6
  Author: Ben Nham <n...@apple.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

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

  Log Message:
  -----------
  Embedder should be able to ignore app utilities links
https://bugs.webkit.org/show_bug.cgi?id=267874
rdar://121389168

Reviewed by Brady Eidson.

Currently we unconditionally handle all WKApplicationUtilities links in WebKit 
without notifying the
embedder via the navigation delegate.

To be more consistent with other types of link handling, we should instead 
notify the navigation
delegate about such links, and only handle them in WebKit if the embedder 
responds to the delegate
callback telling us to process that link (e.g. via 
WKNavigationActionPolicyAllow).

* Source/WebKit/UIProcess/Cocoa/NavigationState.mm:
(WebKit::tryInterceptNavigation):
(WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to