mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update features.cc
This commit is contained in:
parent
26a6979a07
commit
b418fc334d
1 changed files with 11 additions and 9 deletions
20
third_party/blink/common/features.cc
vendored
20
third_party/blink/common/features.cc
vendored
|
@ -65,7 +65,7 @@ const base::FeatureParam<double> kMinimumEntropyForLCP{
|
|||
// 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};
|
||||
"FixedElementsDontOverscroll", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kGMSCoreEmoji{"GMSCoreEmoji",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
@ -158,15 +158,10 @@ const base::Feature kPrivacySandboxAdsAPIs{"PrivacySandboxAdsAPIs",
|
|||
const base::Feature kMixedContentAutoupgrade{"AutoupgradeMixedContent",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
// An experimental replacement for the `User-Agent` header, defined in
|
||||
// https://tools.ietf.org/html/draft-west-ua-client-hints.
|
||||
// Enables User-Agent Client Hints
|
||||
const base::Feature kUserAgentClientHint{"UserAgentClientHint",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
// Enable `sec-ch-ua-full-version-list` client hint.
|
||||
const base::Feature kUserAgentClientHintFullVersionList{
|
||||
"UserAgentClientHintFullVersionList", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
// Handle prefers-color-scheme user preference media feature via client hints.
|
||||
const base::Feature kPrefersColorSchemeClientHintHeader{
|
||||
"PrefersColorSchemeClientHintHeader", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
@ -1124,7 +1119,7 @@ const base::Feature kAutofillShadowDOM{"AutofillShadowDOM",
|
|||
// Allows read/write of custom formats with unsanitized clipboard content. See
|
||||
// crbug.com/106449.
|
||||
const base::Feature kClipboardCustomFormats{"ClipboardCustomFormats",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
// Uses page viewport instead of frame viewport in the Largest Contentful Paint
|
||||
// heuristic where images occupying the full viewport are ignored.
|
||||
|
@ -1387,7 +1382,7 @@ const base::Feature kOptimizeViewportConstrainedPaintInvalidation{
|
|||
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kReduceUserAgentMinorVersion{
|
||||
"ReduceUserAgentMinorVersion", base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
"ReduceUserAgentMinorVersion", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
const base::FeatureParam<std::string> kUserAgentFrozenBuildVersion{
|
||||
&kReduceUserAgentMinorVersion, "build_version", "0"};
|
||||
|
||||
|
@ -1481,5 +1476,12 @@ const base::Feature kSimulateClickOnAXFocus {
|
|||
#endif
|
||||
};
|
||||
|
||||
// Allow access to WebSQL in non-secure contexts.
|
||||
const base::Feature kWebSQLNonSecureContextAccess{
|
||||
"WebSQLNonSecureContextAccess", base::FEATURE_ENABLED_BY_DEFAULT};
|
||||
|
||||
const base::Feature kFileSystemUrlNavigation{"FileSystemUrlNavigation",
|
||||
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||
|
||||
} // namespace features
|
||||
} // namespace blink
|
||||
|
|
Loading…
Reference in a new issue