Skip to content

Commit

Permalink
Remove useFuseboxInternalBranding experiment (#46230)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #46230

Follows facebookexperimental/rn-chrome-devtools-frontend#101.

Changelog: [Internal]

Reviewed By: hoxyq

Differential Revision: D61850578

fbshipit-source-id: 9283e74dd5fddac001f9748115dc8e85b8d0d491
  • Loading branch information
huntie authored and facebook-github-bot committed Aug 27, 2024
1 parent 3596019 commit 773fc8d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe('getDevToolsFrontendUrl', () => {
enableNetworkInspector: false,
enableNewDebugger: false,
enableOpenDebuggerRedirect: false,
useFuseboxInternalBranding: false,
};

describe('relative: false, launchId: undefined (default)', () => {
Expand Down
1 change: 0 additions & 1 deletion packages/dev-middleware/src/createDevMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
6 changes: 0 additions & 6 deletions packages/dev-middleware/src/types/Experiments.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
6 changes: 0 additions & 6 deletions packages/dev-middleware/src/utils/getDevToolsFrontendUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 773fc8d

Please sign in to comment.