Remove useFuseboxInternalBranding experiment (#46230)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46230

Follows https://github.com/facebookexperimental/rn-chrome-devtools-frontend/pull/101.

Changelog: [Internal]

Reviewed By: hoxyq

Differential Revision: D61850578

fbshipit-source-id: 9283e74dd5fddac001f9748115dc8e85b8d0d491
This commit is contained in:
Alex Hunt
2024-08-27 07:10:02 -07:00
committed by Facebook GitHub Bot
parent 3596019489
commit 773fc8d0f1
4 changed files with 0 additions and 14 deletions
@@ -20,7 +20,6 @@ describe('getDevToolsFrontendUrl', () => {
enableNetworkInspector: false,
enableNewDebugger: false,
enableOpenDebuggerRedirect: false,
useFuseboxInternalBranding: false,
};
describe('relative: false, launchId: undefined (default)', () => {
@@ -129,6 +129,5 @@ function getExperiments(config: ExperimentsConfig): Experiments {
enableNewDebugger: config.enableNewDebugger ?? false,
enableOpenDebuggerRedirect: config.enableOpenDebuggerRedirect ?? false,
enableNetworkInspector: config.enableNetworkInspector ?? false,
useFuseboxInternalBranding: config.useFuseboxInternalBranding ?? false,
};
}
@@ -28,12 +28,6 @@ export type Experiments = $ReadOnly<{
* Enables the Network panel when launching the custom debugger frontend.
*/
enableNetworkInspector: boolean,
/**
* [Meta-internal] Controls visibility of the internal "Fusebox" codename
* across the UI when using the modern `rn_fusebox` entry point.
*/
useFuseboxInternalBranding: boolean,
}>;
export type ExperimentsConfig = Partial<Experiments>;
@@ -44,12 +44,6 @@ export default function getDevToolsFrontendUrl(
if (experiments.enableNetworkInspector) {
searchParams.append('unstable_enableNetworkPanel', 'true');
}
if (
options?.useFuseboxEntryPoint === true &&
experiments.useFuseboxInternalBranding
) {
searchParams.append('unstable_useInternalBranding', 'true');
}
if (options?.launchId != null && options.launchId !== '') {
searchParams.append('launchId', options.launchId);
}