Commit 5aba5002 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Enable full testing of CSSReducedFontLoadingLayoutInvalidations

This is preparation for enabling finch experiments of the feature on M85

Note: though M85 hasn't reached Beta, we'd like to have it covered by
test bots first to catch any breakage. We'd also like it to be tested
by perf bots, since this "feature" is a performance optimization.

Bug: 441925
Change-Id: I3ef98ffcfa960381efd034cd1cd63e55fbda4b01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231269
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775847}
parent 10760389
...@@ -351,6 +351,9 @@ void SetRuntimeFeaturesFromChromiumFeatures() { ...@@ -351,6 +351,9 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
{"CSSReducedFontLoadingInvalidations", {"CSSReducedFontLoadingInvalidations",
blink::features::kCSSReducedFontLoadingInvalidations, blink::features::kCSSReducedFontLoadingInvalidations,
kUseFeatureState}, kUseFeatureState},
{"CSSReducedFontLoadingLayoutInvalidations",
blink::features::kCSSReducedFontLoadingLayoutInvalidations,
kUseFeatureState},
{"FeaturePolicyForClientHints", {"FeaturePolicyForClientHints",
features::kFeaturePolicyForClientHints, kUseFeatureState}, features::kFeaturePolicyForClientHints, kUseFeatureState},
{"FlexGaps", blink::features::kFlexGaps, kEnableOnly}, {"FlexGaps", blink::features::kFlexGaps, kEnableOnly},
......
...@@ -1225,6 +1225,27 @@ ...@@ -1225,6 +1225,27 @@
] ]
} }
], ],
"CSSReducedFontLoadingLayoutInvalidations": [
{
"platforms": [
"android",
"android_weblayer",
"android_webview",
"chromeos",
"linux",
"mac",
"windows"
],
"experiments": [
{
"name": "Enabled",
"enable_features": [
"CSSReducedFontLoadingLayoutInvalidations"
]
}
]
}
],
"CacheStorageEagerReading": [ "CacheStorageEagerReading": [
{ {
"platforms": [ "platforms": [
......
...@@ -461,6 +461,9 @@ const base::Feature kDawn2dCanvas{"Dawn2dCanvas", ...@@ -461,6 +461,9 @@ const base::Feature kDawn2dCanvas{"Dawn2dCanvas",
const base::Feature kCSSReducedFontLoadingInvalidations{ const base::Feature kCSSReducedFontLoadingInvalidations{
"CSSReducedFontLoadingInvalidations", base::FEATURE_DISABLED_BY_DEFAULT}; "CSSReducedFontLoadingInvalidations", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kCSSReducedFontLoadingLayoutInvalidations{
"CSSReducedFontLoadingLayoutInvalidations",
base::FEATURE_DISABLED_BY_DEFAULT};
// When enabled, frees up CachedMetadata after consumption by script resources // When enabled, frees up CachedMetadata after consumption by script resources
// and modules. Needed for the experiment in http://crbug.com/1045052. // and modules. Needed for the experiment in http://crbug.com/1045052.
......
...@@ -146,6 +146,8 @@ BLINK_COMMON_EXPORT extern const base::Feature kDawn2dCanvas; ...@@ -146,6 +146,8 @@ BLINK_COMMON_EXPORT extern const base::Feature kDawn2dCanvas;
BLINK_COMMON_EXPORT extern const base::Feature BLINK_COMMON_EXPORT extern const base::Feature
kCSSReducedFontLoadingInvalidations; kCSSReducedFontLoadingInvalidations;
BLINK_COMMON_EXPORT extern const base::Feature
kCSSReducedFontLoadingLayoutInvalidations;
BLINK_COMMON_EXPORT extern const base::Feature kDiscardCodeCacheAfterFirstUse; BLINK_COMMON_EXPORT extern const base::Feature kDiscardCodeCacheAfterFirstUse;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment