[Webkit-unassigned] [Bug 274840] [WPE][GTK] Investigate AdvancedPrivacyProtections
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 29 11:45:56 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274840
Michael Catanzaro <mcatanzaro at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mcatanzaro at redhat.com
--- Comment #1 from Michael Catanzaro <mcatanzaro at redhat.com> ---
This one line patch (for testing purposes only, not a serious patch) significantly improves our performance on https://coveryourtracks.eff.org/
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebsitePolicies.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebsitePolicies.cpp
index fd2a94767aca..7c4b5cd3bec2 100644
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebsitePolicies.cpp
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebsitePolicies.cpp
@@ -52,6 +52,7 @@ struct _WebKitWebsitePoliciesPrivate {
_WebKitWebsitePoliciesPrivate()
: websitePolicies(API::WebsitePolicies::create())
{
+ websitePolicies->setAdvancedPrivacyProtections({ WebCore::AdvancedPrivacyProtections::BaselineProtections, WebCore::AdvancedPrivacyProtections::FingerprintingProtections });
}
RefPtr<API::WebsitePolicies> websitePolicies;
};
We go from "Our tests indicate that you have some protection against Web tracking, but it has some gaps" to "Our tests indicate that you have strong protection against Web tracking."
The changes I see are:
* Fake screen size
* Canvas, WebGL, AudioContext fingerprints randomized by first-party domain
However, it all depends on API::WebsitePolicies. The GTK/WPE API website policies API probably needs to be deprecated and replaced, bug #259577.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240529/6548b95e/attachment.htm>
More information about the webkit-unassigned
mailing list