Update features.cc

This commit is contained in:
Alexander David Frick 2022-05-26 14:30:28 -05:00 committed by GitHub
parent 617dfe5ec7
commit d7ba7eed2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,11 @@ const base::Feature kExcludeLowEntropyImagesFromLCP{
const base::FeatureParam<double> kMinimumEntropyForLCP{ const base::FeatureParam<double> kMinimumEntropyForLCP{
&kExcludeLowEntropyImagesFromLCP, "min_bpp", 2}; &kExcludeLowEntropyImagesFromLCP, "min_bpp", 2};
// Used as a binding for controlling the runtime enabled blink feature
// "FixedElementsDontOverscroll". This is needed for experimentation.
const base::Feature kFixedElementsDontOverscroll{
"FixedElementsDontOverscroll", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kGMSCoreEmoji{"GMSCoreEmoji", const base::Feature kGMSCoreEmoji{"GMSCoreEmoji",
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
@ -224,8 +229,9 @@ const base::FeatureParam<FencedFramesImplementationType>
FencedFramesImplementationType::kShadowDOM, FencedFramesImplementationType::kShadowDOM,
&fenced_frame_implementation_types}; &fenced_frame_implementation_types};
// Enable the shared storage API. This base::Feature directly controls the // Enable the shared storage API. Note that enabling this feature does not
// corresponding runtime enabled feature. // automatically expose this API to the web, it only allows the element to be
// enabled by the runtime enabled feature, for origin trials.
// https://github.com/pythagoraskitty/shared-storage/blob/main/README.md // https://github.com/pythagoraskitty/shared-storage/blob/main/README.md
const base::Feature kSharedStorageAPI{"SharedStorageAPI", const base::Feature kSharedStorageAPI{"SharedStorageAPI",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
@ -1352,9 +1358,6 @@ const base::Feature kNoForcedFrameUpdatesForWebTests{
const base::Feature kElementSuperRareData{"ElementSuperRareData", const base::Feature kElementSuperRareData{"ElementSuperRareData",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kClientHintsPartitionedCookies{
"ClientHintsPartitionedCookies", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kDurableClientHintsCache{"DurableClientHintsCache", const base::Feature kDurableClientHintsCache{"DurableClientHintsCache",
base::FEATURE_ENABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
@ -1464,6 +1467,11 @@ const base::Feature kSubstringSetTreeForAttributeBuckets{
const base::Feature kPendingBeaconAPI{"PendingBeaconAPI", const base::Feature kPendingBeaconAPI{"PendingBeaconAPI",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_ANDROID)
const base::Feature kPrefetchFontLookupTables{
"PrefetchFontLookupTables", base::FEATURE_DISABLED_BY_DEFAULT};
#endif
const base::Feature kSimulateClickOnAXFocus { const base::Feature kSimulateClickOnAXFocus {
"SimulateClickOnAXFocus", "SimulateClickOnAXFocus",
#if BUILDFLAG(IS_WIN) #if BUILDFLAG(IS_WIN)