diff --git a/src/third_party/blink/common/features.cc b/src/third_party/blink/common/features.cc index 255115c2..0c4f2d9c 100644 --- a/src/third_party/blink/common/features.cc +++ b/src/third_party/blink/common/features.cc @@ -305,7 +305,7 @@ bool IsFencedFramesShadowDOMBased() { } const base::Feature kInitialNavigationEntry{"InitialNavigationEntry", - base::FEATURE_DISABLED_BY_DEFAULT}; + base::FEATURE_ENABLED_BY_DEFAULT}; bool IsInitialNavigationEntryEnabled() { return base::FeatureList::IsEnabled(blink::features::kInitialNavigationEntry); @@ -959,7 +959,7 @@ const base::FeatureParam const base::Feature kSanitizerAPI{"SanitizerAPI", base::FEATURE_DISABLED_BY_DEFAULT}; const base::Feature kSanitizerAPIv0{"SanitizerAPIv0", - base::FEATURE_DISABLED_BY_DEFAULT}; + base::FEATURE_ENABLED_BY_DEFAULT}; // Controls whether the Sanitizer API allows namespaced content (SVG + MathML). // @@ -1425,6 +1425,9 @@ const base::Feature kReduceUserAgentMinorVersion{ const base::FeatureParam kUserAgentFrozenBuildVersion{ &kReduceUserAgentMinorVersion, "build_version", "0"}; +const base::Feature kReduceUserAgentPlatformOsCpu{ + "ReduceUserAgentPlatformOsCpu", base::FEATURE_DISABLED_BY_DEFAULT}; + const base::Feature kReportFCPOnlyOnSuccessfulCommit{ "ReportFCPOnlyOnSuccessfulCommit", base::FEATURE_DISABLED_BY_DEFAULT}; @@ -1475,13 +1478,28 @@ const base::Feature kEstablishGpuChannelAsync{ const base::Feature kDecodeScriptSourceOffThread{ "DecodeScriptSourceOffThread", base::FEATURE_DISABLED_BY_DEFAULT}; +const base::Feature kDelayAsyncScriptExecution{ + "DelayAsyncScriptExecution", base::FEATURE_DISABLED_BY_DEFAULT}; + +const base::FeatureParam::Option + delay_async_script_execution_delay_types[] = { + {DelayAsyncScriptDelayType::kFinishedParsing, "finished_parsing"}, + {DelayAsyncScriptDelayType::kFirstPaintOrFinishedParsing, + "first_paint_or_finished_parsing"}}; + +const base::FeatureParam + kDelayAsyncScriptExecutionDelayParam{ + &kDelayAsyncScriptExecution, "delay_type", + DelayAsyncScriptDelayType::kFinishedParsing, + &delay_async_script_execution_delay_types}; + +const base::Feature kForceDeferScriptIntervention{ + "ForceDeferScriptIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; + const base::Feature kAllowSourceSwitchOnPausedVideoMediaStream{ "AllowSourceSwitchOnPausedVideoMediaStream", base::FEATURE_ENABLED_BY_DEFAULT}; -const base::Feature kDispatchPopstateSync{"DispatchPopstateSync", - base::FEATURE_ENABLED_BY_DEFAULT}; - // Exposes non-standard stats in the WebRTC getStats() API. const base::Feature kWebRtcExposeNonStandardStats{ "WebRtc-ExposeNonStandardStats", base::FEATURE_DISABLED_BY_DEFAULT}; @@ -1522,9 +1540,6 @@ const base::Feature kFileSystemUrlNavigation{"FileSystemUrlNavigation", const base::Feature kEarlyExitOnNoopClassOrStyleChange{ "EarlyExitOnNoopClassOrStyleChange", base::FEATURE_DISABLED_BY_DEFAULT}; -const base::Feature kLocalFrameRootPrePostFCPMetrics{ - "LocalFrameRootPrePostFCPMetrics", base::FEATURE_DISABLED_BY_DEFAULT}; - // TODO(mahesh.ma): Enable for supported Android versions once feature is ready. const base::Feature kStylusWritingToInput{"StylusWritingToInput", base::FEATURE_DISABLED_BY_DEFAULT}; @@ -1539,5 +1554,8 @@ const base::Feature kTimedHTMLParserBudget{"TimedHTMLParserBudget", const base::Feature kCSSOverflowForReplacedElements{ "CSSOverflowForReplacedElements", base::FEATURE_ENABLED_BY_DEFAULT}; +const base::Feature kClipboardUnsanitizedContent{ + "ClipboardUnsanitizedContent", base::FEATURE_DISABLED_BY_DEFAULT}; + } // namespace features } // namespace blink