[webkit-changes] [WebKit/WebKit] 86ce5a: Make PublicSuffixStore::publicSuffix take URL as p...
Sihui
noreply at github.com
Sun Mar 31 21:56:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 86ce5a106de21edc5f49740ccd6b96acd7c887f6
https://github.com/WebKit/WebKit/commit/86ce5a106de21edc5f49740ccd6b96acd7c887f6
Author: Sihui Liu <sihui_liu at apple.com>
Date: 2024-03-31 (Sun, 31 Mar 2024)
Changed paths:
M Source/WebCore/platform/PublicSuffixStore.cpp
M Source/WebCore/platform/PublicSuffixStore.h
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Tools/TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp
Log Message:
-----------
Make PublicSuffixStore::publicSuffix take URL as parameter
https://bugs.webkit.org/show_bug.cgi?id=271911
rdar://125630180
Reviewed by Per Arne Vollan.
We can eliminate unnecessary checks in PublicSuffixStore::publicSuffix if the parameter is URL, especially as all
existing callers of this function have access to URL.
* Source/WebCore/platform/PublicSuffixStore.cpp:
(WebCore::PublicSuffixStore::publicSuffix const):
* Source/WebCore/platform/PublicSuffixStore.h:
* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::goToBackForwardItem):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::launchProcessForReload):
(WebKit::WebPageProxy::loadRequestWithNavigationShared):
(WebKit::WebPageProxy::loadFile):
(WebKit::WebPageProxy::goToBackForwardItem):
* Tools/TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp:
(TestWebKitAPI::TEST_F):
Canonical link: https://commits.webkit.org/276870@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list