Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[ITP] User initiated cross-domain link navigations getting counted as…
… Top Frame Redirects https://bugs.webkit.org/show_bug.cgi?id=223405 rdar://75552559 Reviewed by Wenson Hsieh and David Kilzer. This patch fixes a use-after-move on `userInitiatedActivity`. The variable `wasPotentiallyInitiatedByUser` uses the RefPtr `userInitiatedActivity` to determine if a navigation was user initiated. Since it has already been moved, the RefPtr will always be null. This causes an issue where ITP may incorrectly treat a user-initiated navigation as a main frame redirect. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::decidePolicyForNavigationAction): Canonical link: https://commits.webkit.org/258382@main
- Loading branch information