Disable net::features::kThirdPartyPartitionedStorageAllowedByDefault

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/e83ad48b7de16798e682a50ab68f5fcb3f09b3f9

commit e83ad48b7de16798e682a50ab68f5fcb3f09b3f9
Author: sbingler <bingler@chromium.org>
Date:   Mon Aug 28 18:57:04 2023 +0000

    Allow partitioned storage by default when 3p cookies are disabled

    Blocking third-party cookies by default (ex: through the toggle in a new
    incognito tab) currently disabled all third-party storage as well.

    This CL allows access to partitioned storage when third-party cookies
    are disabled by default.

    This only applies when third-party cookies are disabled by default
    across all urls. If cookies are disabled through a user specified rule/pattern then storage will continue to be disabled as well.

    Bug: 1453783
This commit is contained in:
Emerick Rogul
2023-09-27 13:08:23 +03:00
committed by Claudio DeSouza
parent 60217f548d
commit d284f96556
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -243,6 +243,7 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, DisabledFeatures) {
&net::features::kEnableWebTransportDraft07,
&net::features::kNoncedPartitionedCookies,
&net::features::kPartitionedCookies,
&net::features::kThirdPartyPartitionedStorageAllowedByDefault,
&network::features::kFledgePst,
&network::features::kPrivateStateTokens,
&network_time::kNetworkTimeServiceQuerying,
+2
View File
@@ -26,6 +26,8 @@ OVERRIDE_FEATURE_DEFAULT_STATES({{
// Brave ephemeral storage. For reference:
// https://github.com/brave/brave-browser/issues/26165
{kSupportPartitionedBlobUrl, base::FEATURE_DISABLED_BY_DEFAULT},
{kThirdPartyPartitionedStorageAllowedByDefault,
base::FEATURE_DISABLED_BY_DEFAULT},
}});
BASE_FEATURE(kBraveEphemeralStorage,