Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: fd6c3c9d46a0d20f4f13125568295e1b7fe017fd https://github.com/WebKit/WebKit/commit/fd6c3c9d46a0d20f4f13125568295e1b7fe017fd Author: Elijah Sawyers <esawy...@apple.com> Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths: M Source/WebKit/UIProcess/Cocoa/NavigationState.mm M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIAction.mm Log Message: ----------- Subframe navigation is failing in extension popovers https://bugs.webkit.org/show_bug.cgi?id=272103 rdar://125800143 Reviewed by Brian Weinstein and Timothy Hatcher. This patch fixes a bug where subframe navigation is blocked in extension popovers. We have to loosen the constraints of isUnsupportedWebExtensionNavigation to allow subframe navigation. Additionally, this patch adds a new test to validate the fix. * Source/WebKit/UIProcess/Cocoa/NavigationState.mm: (WebKit::isUnsupportedWebExtensionNavigation): (WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction): * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtensionAPIAction.mm: (TestWebKitAPI::TEST(WKWebExtensionAPIAction, SubframeNavigation)): Canonical link: https://commits.webkit.org/277046@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes