Skip to content

Commit

Permalink
keeps shared storage disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed May 1, 2024
1 parent 01608e5 commit 416a57c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions build/patches/Disable-FLoC-and-privacy-sandbox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 416a57c

Please sign in to comment.