Update features.cc

This commit is contained in:
Alexander David Frick 2022-04-23 21:44:14 -05:00 committed by GitHub
parent 9929d4b9cc
commit 2135836fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ const base::Feature kAutomaticLazyFrameLoadingToEmbeds{
// to gather Blink.AutomaticLazyLoadFrame.LazyEmbedFrameCount UKM data even when // to gather Blink.AutomaticLazyLoadFrame.LazyEmbedFrameCount UKM data even when
// kAutomaticLazyFrameLoadingToEmbeds is disabled. // kAutomaticLazyFrameLoadingToEmbeds is disabled.
const base::Feature kAutomaticLazyFrameLoadingToEmbedUrls{ const base::Feature kAutomaticLazyFrameLoadingToEmbedUrls{
"AutomaticLazyFrameLoadingToEmbedUrls", base::FEATURE_ENABLED_BY_DEFAULT}; "AutomaticLazyFrameLoadingToEmbedUrls", base::FEATURE_DISABLED_BY_DEFAULT};
// Allows pages with DedicatedWorker to stay eligible for the back/forward // Allows pages with DedicatedWorker to stay eligible for the back/forward
// cache. // cache.
@ -708,6 +708,13 @@ const base::FeatureParam<int> kCacheCodeOnIdleDelayParam{&kCacheCodeOnIdle,
const base::Feature kOffsetParentNewSpecBehavior{ const base::Feature kOffsetParentNewSpecBehavior{
"OffsetParentNewSpecBehavior", base::FEATURE_ENABLED_BY_DEFAULT}; "OffsetParentNewSpecBehavior", base::FEATURE_ENABLED_BY_DEFAULT};
// Makes form elements cancel previous form submissions made by the same form
// when the default event handler schedules a form submission.
// TODO(crbug.com/1234409): Remove this flag when this feature has been in
// stable for a release with no issues
const base::Feature kCancelFormSubmissionInDefaultHandler{
"CancelFormSubmissionInDefaultHandler", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kKeepScriptResourceAlive{"KeepScriptResourceAlive", const base::Feature kKeepScriptResourceAlive{"KeepScriptResourceAlive",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};