41 lines
1.8 KiB
Diff
41 lines
1.8 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Sat, 2 Nov 2019 16:22:56 +0100
|
||
|
Subject: Disable some signed exchange features
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
---
|
||
|
content/common/features.cc | 4 ++--
|
||
|
content/public/common/content_features.cc | 4 ++--
|
||
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/content/common/features.cc b/content/common/features.cc
|
||
|
--- a/content/common/features.cc
|
||
|
+++ b/content/common/features.cc
|
||
|
@@ -432,8 +432,8 @@ const base::FeatureParam<std::string>
|
||
|
// Signed Exchange Reporting for distributors
|
||
|
// https://www.chromestatus.com/feature/5687904902840320
|
||
|
BASE_FEATURE(kSignedExchangeReportingForDistributors,
|
||
|
- "SignedExchangeReportingForDistributors",
|
||
|
- base::FEATURE_ENABLED_BY_DEFAULT);
|
||
|
+ "SignedExchangeReportingForDistributors", // disabled
|
||
|
+ base::FEATURE_DISABLED_BY_DEFAULT); // by default
|
||
|
|
||
|
// When enabled, ensures that an unlocked process cannot access data for
|
||
|
// sites that require a dedicated process.
|
||
|
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
|
||
|
--- a/content/public/common/content_features.cc
|
||
|
+++ b/content/public/common/content_features.cc
|
||
|
@@ -934,8 +934,8 @@ BASE_FEATURE(kShouldAllowFirstPartyStorageKeyOverrideFromEmbedder,
|
||
|
// Origin-Signed HTTP Exchanges (for WebPackage Loading)
|
||
|
// https://www.chromestatus.com/feature/5745285984681984
|
||
|
BASE_FEATURE(kSignedHTTPExchange,
|
||
|
- "SignedHTTPExchange",
|
||
|
- base::FEATURE_ENABLED_BY_DEFAULT);
|
||
|
+ "SignedHTTPExchange", // must be disabled
|
||
|
+ base::FEATURE_DISABLED_BY_DEFAULT); // in Bromite
|
||
|
|
||
|
// If enabled, GetUserMedia API will only work when the concerned tab is in
|
||
|
// focus
|
||
|
--
|
||
|
2.25.1
|