Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK][WPE] Add API to check if a response policy decision is for the …
…main resource https://bugs.webkit.org/show_bug.cgi?id=247059 Reviewed by Adrian Perez de Castro and Michael Catanzaro. Apps are currently checking if request uri is the same as web view main resource uri which might not be accurate. * Source/WebKit/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp: (webkit_response_policy_decision_is_main_frame_main_resource): * Source/WebKit/UIProcess/API/glib/WebKitResponsePolicyDecision.h.in: * Tools/MiniBrowser/gtk/BrowserTab.c: (decidePolicy): * Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitPolicyClient.cpp: (testResponsePolicy): Canonical link: https://commits.webkit.org/256058@main
- Loading branch information
1 parent
becb6c4
commit e35d409
Showing
4 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
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