diff --git a/remote/cdp/RecommendedPreferences.jsm b/remote/cdp/RecommendedPreferences.jsm index 8fc3b3244a04..8841a142cf67 100644 --- a/remote/cdp/RecommendedPreferences.jsm +++ b/remote/cdp/RecommendedPreferences.jsm @@ -7,13 +7,6 @@ var EXPORTED_SYMBOLS = ["RecommendedPreferences"]; const RecommendedPreferences = { - // Disable automatically upgrading Firefox - // - // Note: This preference should have already been set by the client when - // creating the profile. But if not and to absolutely make sure that updates - // of Firefox aren't downloaded and applied, enforce its presence. - "app.update.disabledForTesting": true, - // Allow the application to have focus even when it runs in the background. "focusmanager.testmode": true, diff --git a/toolkit/mozapps/update/UpdateService.jsm b/toolkit/mozapps/update/UpdateService.jsm index ad2ee1e00bf2..e615f7d6fdc0 100644 --- a/toolkit/mozapps/update/UpdateService.jsm +++ b/toolkit/mozapps/update/UpdateService.jsm @@ -39,17 +39,6 @@ XPCOMUtils.defineLazyModuleGetters(this, { WindowsRegistry: "resource://gre/modules/WindowsRegistry.jsm", }); -if (AppConstants.ENABLE_REMOTE_AGENT) { - XPCOMUtils.defineLazyServiceGetter( - this, - "RemoteAgent", - "@mozilla.org/remote/agent;1", - "nsIRemoteAgent" - ); -} else { - this.RemoteAgent = { listening: false }; -} - const UPDATESERVICE_CID = Components.ID( "{B3C290A6-3943-4B89-8BBE-C01EB7B3B311}" ); @@ -3594,7 +3583,7 @@ UpdateService.prototype = { } return ( - (Cu.isInAutomation || marionetteRunning || RemoteAgent.listening) && + (Cu.isInAutomation || marionetteRunning) && Services.prefs.getBoolPref(PREF_APP_UPDATE_DISABLEDFORTESTING, false) ); },