Commit 45cc3fe3 authored by Alexander Timin's avatar Alexander Timin Committed by Commit Bot

[bfcache] Fix chrome://flags entry for bfcache

Fix chrome://flags behaviour for bfcache flag forcing caching:
- Ensure that all parameters are correctly captured
- Rename the mode to "Force caching all pages" to be more clear
- Extend timeout to 1 hour for easier testing.

R=carlscab@google.com

Change-Id: I7df177abccea0fa849a5834c13b75464553c5cfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919759
Commit-Queue: Alexander Timin <altimin@chromium.org>
Reviewed-by: default avatarCarlos Caballero <carlscab@google.com>
Cr-Commit-Position: refs/heads/master@{#715897}
parent 684024dd
...@@ -1367,14 +1367,13 @@ const FeatureEntry::FeatureVariation kQuietNotificationPromptsVariations[] = { ...@@ -1367,14 +1367,13 @@ const FeatureEntry::FeatureVariation kQuietNotificationPromptsVariations[] = {
// TODO(crbug.com/991082,1015377): Remove after proper support for back-forward // TODO(crbug.com/991082,1015377): Remove after proper support for back-forward
// cache is implemented. // cache is implemented.
const FeatureEntry::FeatureParam kBackForwardCache_ExtendedSupport[] = { const FeatureEntry::FeatureParam kBackForwardCache_ForceCaching[] = {
{"service_worker_supported", "true"}, {"TimeToLiveInBackForwardCacheInSeconds", "300"},
{"geolocation_supported", "true"},
{"should_ignore_blocklists", "true"}}; {"should_ignore_blocklists", "true"}};
const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = { const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = {
{"experimental extended supported feature set", {"force caching all pages", kBackForwardCache_ForceCaching,
kBackForwardCache_ExtendedSupport, 1, nullptr}, base::size(kBackForwardCache_ForceCaching), nullptr},
}; };
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
......
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