Update features.cc

This commit is contained in:
Alexander David Frick 2022-08-20 20:01:44 -05:00 committed by GitHub
parent eaa4044995
commit 59796d6eba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,8 +286,8 @@ const base::Feature kPartitionedCookies{"PartitionedCookies",
const base::Feature kPartitionedCookiesBypassOriginTrial{
"PartitionedCookiesBypassOriginTrial", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kNoncedPartitionedCookies{
"NoncedPartitionedCookies", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kNoncedPartitionedCookies{"NoncedPartitionedCookies",
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kExtraCookieValidityChecks{
"ExtraCookieValidityChecks", base::FEATURE_ENABLED_BY_DEFAULT};
@ -301,11 +301,7 @@ const base::Feature kClampCookieExpiryTo400Days(
const base::Feature kStaticKeyPinningEnforcement(
"StaticKeyPinningEnforcement",
#if BUILDFLAG(IS_ANDROID)
base::FEATURE_DISABLED_BY_DEFAULT);
#else
base::FEATURE_ENABLED_BY_DEFAULT);
#endif
const base::Feature kCookieDomainRejectNonASCII{
"CookieDomainRejectNonASCII", base::FEATURE_DISABLED_BY_DEFAULT};
@ -330,6 +326,9 @@ const base::FeatureParam<int>
&kOptimizeNetworkBuffers, "filter_source_stream_buffer_size",
32 * 1024};
const base::FeatureParam<bool> kOptimizeNetworkBuffersInputStreamCheckAvailable{
&kOptimizeNetworkBuffers, "input_stream_check_available", true};
const base::Feature kStorageAccessAPI{"StorageAccessAPI",
base::FEATURE_ENABLED_BY_DEFAULT};
constexpr int kStorageAccessAPIDefaultImplicitGrantLimit = 5;