Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dc08881973131dd7d781652a2c0816177ca654e5
https://github.com/WebKit/WebKit/commit/dc08881973131dd7d781652a2c0816177ca654e5
Author: Wenson Hsieh <[email protected]>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/page/ChromeClient.h
M Source/WebCore/page/Page.cpp
M Source/WebCore/page/Page.h
M Source/WebCore/platform/network/AdvancedPrivacyProtections.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h
Log Message:
-----------
[Script Telemetry] Add website policies support for
AdvancedPrivacyProtections::ScriptTelemetry
https://bugs.webkit.org/show_bug.cgi?id=279597
Reviewed by Charlie Wolfe.
Add a new `AdvancedPrivacyProtections` option for `ScriptTelemetry`, along with
a corresponding
internal feature flag. Note that this new policy flag isn't directly exposed as
SPI, through
"network connection integrity" policies; instead, we automatically set it
underneath the client, as
long as cross-site tracking prevention (and this new internal flag) are enabled.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/page/ChromeClient.h:
(WebCore::ChromeClient::requiresScriptTelemetryForURL const):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::advancedPrivacyProtections const):
(WebCore::Page::requiresScriptTelemetryForURL const):
* Source/WebCore/page/Page.h:
* Source/WebCore/platform/network/AdvancedPrivacyProtections.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForNavigationAction):
(WebKit::WebPageProxy::adjustAdvancedPrivacyProtectionsIfNeeded):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::requiresScriptTelemetryForURL const):
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:
Canonical link: https://commits.webkit.org/283647@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes