diff --git a/front_end/core/root/Runtime.ts b/front_end/core/root/Runtime.ts index 4bcdb84f12e..349f3b524b7 100644 --- a/front_end/core/root/Runtime.ts +++ b/front_end/core/root/Runtime.ts @@ -320,6 +320,7 @@ export const enum ExperimentName { // React Native-specific experiments - must mirror RNExperimentName above JS_HEAP_PROFILER_ENABLE = RNExperimentName.JS_HEAP_PROFILER_ENABLE, REACT_NATIVE_SPECIFIC_UI = RNExperimentName.REACT_NATIVE_SPECIFIC_UI, + NOT_REACT_NATIVE_SPECIFIC_UI = '!' + RNExperimentName.REACT_NATIVE_SPECIFIC_UI, ENABLE_PERFORMANCE_PANEL = RNExperimentName.ENABLE_PERFORMANCE_PANEL, ENABLE_NETWORK_PANEL = RNExperimentName.ENABLE_NETWORK_PANEL, } diff --git a/front_end/panels/timeline/timeline-meta.ts b/front_end/panels/timeline/timeline-meta.ts index affda660cf6..2705eca85c6 100644 --- a/front_end/panels/timeline/timeline-meta.ts +++ b/front_end/panels/timeline/timeline-meta.ts @@ -152,7 +152,7 @@ UI.ActionRegistration.registerActionExtension({ shortcut: 'Meta+Shift+E', }, ], - experiment: Root.Runtime.ExperimentName.REACT_NATIVE_SPECIFIC_UI, // See https://docs.google.com/document/d/1_mtLIHEd9bFQN4xWBSVDR357GaRo56khB1aOxgWDeu4/edit?tab=t.0 for context. + experiment: Root.Runtime.ExperimentName.NOT_REACT_NATIVE_SPECIFIC_UI, // See https://docs.google.com/document/d/1_mtLIHEd9bFQN4xWBSVDR357GaRo56khB1aOxgWDeu4/edit?tab=t.0 for context. }); UI.ActionRegistration.registerActionExtension({ diff --git a/front_end/testing/EnvironmentHelpers.ts b/front_end/testing/EnvironmentHelpers.ts index c1892659484..9515dede968 100644 --- a/front_end/testing/EnvironmentHelpers.ts +++ b/front_end/testing/EnvironmentHelpers.ts @@ -132,6 +132,7 @@ const REGISTERED_EXPERIMENTS = [ Root.Runtime.ExperimentName.TIMELINE_SHOW_POST_MESSAGE_EVENTS, Root.Runtime.ExperimentName.TIMELINE_ENHANCED_TRACES, Root.Runtime.ExperimentName.REACT_NATIVE_SPECIFIC_UI, + Root.Runtime.ExperimentName.NOT_REACT_NATIVE_SPECIFIC_UI, ]; export async function initializeGlobalVars({reset = true} = {}) {