diff --git a/front_end/core/host/UserMetrics.ts b/front_end/core/host/UserMetrics.ts index 08d5fc999c..c0653efe4f 100644 --- a/front_end/core/host/UserMetrics.ts +++ b/front_end/core/host/UserMetrics.ts @@ -583,7 +583,8 @@ export enum DevtoolsExperiments { 'groupAndHideIssuesByKind' = 51, 'cssTypeComponentLength' = 52, 'preciseChanges' = 53, - 'MaxValue' = 54, + 'bfcacheDisplayTree' = 54, + 'MaxValue' = 55, } /* eslint-enable @typescript-eslint/naming-convention */ diff --git a/front_end/entrypoints/main/MainImpl.ts b/front_end/entrypoints/main/MainImpl.ts index 3257faf9c2..4a07beaa9e 100644 --- a/front_end/entrypoints/main/MainImpl.ts +++ b/front_end/entrypoints/main/MainImpl.ts @@ -297,6 +297,10 @@ export class MainImpl { 'keyboardShortcutEditor', 'Enable keyboard shortcut editor', true, 'https://developer.chrome.com/blog/new-in-devtools-88/#keyboard-shortcuts'); + // Back/forward cache + Root.Runtime.experiments.register( + 'bfcacheDisplayTree', 'Show back/forward cache blocking reasons in the frame tree structure view'); + // Timeline Root.Runtime.experiments.register('timelineEventInitiators', 'Timeline: event initiators'); Root.Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: invalidation tracking', true);