[webkit-changes] [WebKit/WebKit] 3be5bc: [Site Isolation] Fix custom navigator platform set...
Charlie Wolfe
noreply at github.com
Fri Jun 14 14:13:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3be5bccc873aa78f4a7574b917b976f156b6dd12
https://github.com/WebKit/WebKit/commit/3be5bccc873aa78f4a7574b917b976f156b6dd12
Author: Charlie Wolfe <charliew at apple.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M Source/WebCore/loader/FrameLoader.cpp
M Source/WebCore/page/Frame.h
M Source/WebCore/page/LocalFrame.cpp
M Source/WebCore/page/LocalFrame.h
M Source/WebCore/page/RemoteFrame.cpp
M Source/WebCore/page/RemoteFrame.h
M Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm
Log Message:
-----------
[Site Isolation] Fix custom navigator platform set from website policies
https://bugs.webkit.org/show_bug.cgi?id=275425
rdar://129721017
Reviewed by Pascoe.
Set custom navigator platform on RemoteFrame and use it when the mainframe is in another process. This
matches what we do for other website polices.
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::navigatorPlatform const):
* Source/WebCore/page/Frame.h:
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::customNavigatorPlatform const):
* Source/WebCore/page/LocalFrame.h:
* Source/WebCore/page/RemoteFrame.cpp:
(WebCore::RemoteFrame::customNavigatorPlatform const):
* Source/WebCore/page/RemoteFrame.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebRemoteFrameClient.cpp:
(WebKit::WebRemoteFrameClient::applyWebsitePolicies):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, WebsitePoliciesCustomNavigatorPlatform)):
Canonical link: https://commits.webkit.org/280038@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