[webkit-changes] [WebKit/WebKit] 101cda: Embedder should be able to ignore app utilities links
bnham
noreply at github.com
Mon Jan 22 17:07:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 101cda37cddc0d04789cca1c0ac3a217ebb69dd6
https://github.com/WebKit/WebKit/commit/101cda37cddc0d04789cca1c0ac3a217ebb69dd6
Author: Ben Nham <nham at 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
More information about the webkit-changes
mailing list