From 416a57cd96d7bc012af0fbf5cb18e75ea413f967 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 1 May 2024 18:18:33 +0200 Subject: [PATCH] keeps shared storage disabled --- build/patches/Disable-FLoC-and-privacy-sandbox.patch | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/build/patches/Disable-FLoC-and-privacy-sandbox.patch b/build/patches/Disable-FLoC-and-privacy-sandbox.patch index f7dcd87d..37a5bba0 100644 --- a/build/patches/Disable-FLoC-and-privacy-sandbox.patch +++ b/build/patches/Disable-FLoC-and-privacy-sandbox.patch @@ -19,9 +19,9 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html .../privacy_sandbox/privacy_sandbox_prefs.cc | 2 +- .../privacy_sandbox_settings_impl.cc | 19 ++++++++++++++----- .../identity_manager/account_capabilities.cc | 2 +- - .../Disable-FLoC-and-privacy-sandbox.inc | 1 + + .../Disable-FLoC-and-privacy-sandbox.inc | 4 ++++ third_party/blink/common/features.cc | 1 + - 12 files changed, 29 insertions(+), 22 deletions(-) + 12 files changed, 32 insertions(+), 22 deletions(-) create mode 100644 cromite_flags/third_party/blink/common/features_cc/Disable-FLoC-and-privacy-sandbox.inc diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc @@ -223,12 +223,15 @@ diff --git a/cromite_flags/third_party/blink/common/features_cc/Disable-FLoC-and new file mode 100644 --- /dev/null +++ b/cromite_flags/third_party/blink/common/features_cc/Disable-FLoC-and-privacy-sandbox.inc -@@ -0,0 +1 @@ +@@ -0,0 +1,4 @@ +SET_CROMITE_FEATURE_DISABLED(kFencedFrames); ++SET_CROMITE_FEATURE_DISABLED(kSharedStorageAPI); ++SET_CROMITE_FEATURE_DISABLED(kSharedStorageAPIM118); ++SET_CROMITE_FEATURE_DISABLED(kSharedStorageAPIM124); diff --git a/third_party/blink/common/features.cc b/third_party/blink/common/features.cc --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc -@@ -2519,6 +2519,7 @@ bool IsAllowPageWithIDBConnectionAndTransactionInBFCacheEnabled() { +@@ -2514,6 +2514,7 @@ bool IsAllowPageWithIDBConnectionAndTransactionInBFCacheEnabled() { } bool IsAllowURNsInIframeEnabled() {