-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop doing a synchronous DecidePolicyForNavigationAction IPC for frag…
…ment navigations https://bugs.webkit.org/show_bug.cgi?id=262206 rdar://116480976 Reviewed by Alex Christensen. Stop doing a synchronous DecidePolicyForNavigationAction IPC for fragment navigations. We still call the client delegate (but asynchronously) and proceed with the navigation synchronously, without waiting for the client decision. This is consistent with what we did for empty document loads (about:blank). Navigation to fragments are not true navigations and merely cause scrolling. The behavior change is gated on a linked-on-after check to mitigate compatibility risks. * LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore-expected.txt: Removed. * LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore.html: Removed. * Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h: * Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Canonical link: https://commits.webkit.org/270416@main
- Loading branch information
Showing
7 changed files
with
57 additions
and
45 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore-expected.txt
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
LayoutTests/http/tests/navigation/fragment-navigation-policy-ignore.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters