Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8fa47d3ff3db03b72ba4636a47b2da28e3dffb6d
https://github.com/WebKit/WebKit/commit/8fa47d3ff3db03b72ba4636a47b2da28e3dffb6d
Author: Charlie Wolfe <[email protected]>
Date: 2023-04-26 (Wed, 26 Apr 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/page/UserContentProvider.cpp
M Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp
M Source/WebKit/WebProcess/Network/WebSocketChannel.cpp
M Source/WebKit/WebProcess/WebPage/WebFrame.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm
Log Message:
-----------
Allow extension pages to set frame-specific website policies
https://bugs.webkit.org/show_bug.cgi?id=255880
rdar://104453529
Reviewed by Alex Christensen.
This patch makes changes to allow extensions pages to have subframes which have
website
policies that are different from the main frame. For now, this only applies to
the policies
allowPrivacyProxy, networkConnectionIntegrityPolicy, and
contentExtensionEnablement.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::urlForBindings const):
(WebCore::Document::referrerForBindings):
* Source/WebCore/page/UserContentProvider.cpp:
(WebCore::ruleListFilter):
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::networkConnectionIntegrityPolicy const):
* Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:
(WebKit::addParametersShared):
* Source/WebKit/WebProcess/Network/WebSocketChannel.cpp:
(WebKit::WebSocketChannel::connect):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
Canonical link: https://commits.webkit.org/263442@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes