Skip to content

Commit dad8b74

Browse files
committed
Bug 1883911 - remove pref and Nimbus code for switching devices help menu item r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D203764
1 parent 8012124 commit dad8b74

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

browser/app/profile/firefox.js

-2
Original file line numberDiff line numberDiff line change
@@ -2322,8 +2322,6 @@ pref("browser.migrate.interactions.passwords", false);
23222322

23232323
pref("browser.migrate.preferences-entrypoint.enabled", true);
23242324

2325-
pref("browser.device-migration.help-menu.hidden", false);
2326-
23272325
pref("extensions.pocket.api", "api.getpocket.com");
23282326
pref("extensions.pocket.bffApi", "firefox-api-proxy.cdn.mozilla.net");
23292327
pref("extensions.pocket.bffRecentSaves", true);

browser/base/content/utilityOverlay.js

-5
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,6 @@ function buildHelpMenu() {
549549
if (typeof gSafeBrowsing != "undefined") {
550550
gSafeBrowsing.setReportPhishingMenu();
551551
}
552-
553-
if (NimbusFeatures.deviceMigration.getVariable("helpMenuHidden")) {
554-
let helpMenuItem = document.getElementById("helpSwitchDevice");
555-
helpMenuItem.hidden = true;
556-
}
557552
}
558553

559554
function isElementVisible(aElement) {

toolkit/components/nimbus/FeatureManifest.yaml

-11
Original file line numberDiff line numberDiff line change
@@ -2185,17 +2185,6 @@ httpSpeculativeParallelLimit:
21852185
branch: default
21862186
pref: "network.http.speculative-parallel-limit"
21872187

2188-
deviceMigration:
2189-
description: Prefs to control aspects of the new device migration experiment
2190-
owner: hjones@mozilla.com
2191-
hasExposure: false
2192-
isEarlyStartup: true
2193-
variables:
2194-
helpMenuHidden:
2195-
description: True if new help menu item should be hidden
2196-
type: boolean
2197-
fallbackPref: browser.device-migration.help-menu.hidden
2198-
21992188
shopping2023:
22002189
description: Prefs to control the 2023 shopping experiment.
22012190
owner: jhirsch@mozilla.com

0 commit comments

Comments
 (0)