Bug 1446925 - Removed unused instantbird references from nsUpdateService.js r=rstrong
authorsreeise <reeisesean@gmail.com>
Tue, 20 Mar 2018 13:15:41 -0400
changeset 409123 4203bc958351
parent 409122 885915481ec5
child 409124 a17d9a6aee91
push id101139
push usercsabou@mozilla.com
push dateWed, 21 Mar 2018 05:09:57 +0000
treeherdermozilla-inbound@37d5fb897e8b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrstrong
bugs1446925
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1446925 - Removed unused instantbird references from nsUpdateService.js r=rstrong Instantbird referenced xul-windows-visible which is a app ID mapping for a signal sent to notify when the app is displayed. Removed unused app ID of instantbird referring to xul-windows-visible and removed switch statement referring to xul-windows-visble.
toolkit/mozapps/update/nsUpdateService.js
--- a/toolkit/mozapps/update/nsUpdateService.js
+++ b/toolkit/mozapps/update/nsUpdateService.js
@@ -180,18 +180,16 @@ const DEFAULT_CANCELATIONS_OSX_MAX = 3;
 // the application's user interface has been displayed.
 const APPID_TO_TOPIC = {
   // Firefox
   "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}": "sessionstore-windows-restored",
   // SeaMonkey
   "{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}": "sessionstore-windows-restored",
   // Thunderbird
   "{3550f703-e582-4d05-9a08-453d09bdfdc6}": "mail-startup-done",
-  // Instantbird
-  "{33cb9019-c295-46dd-be21-8c4936574bee}": "xul-window-visible",
 };
 
 // A var is used for the delay so tests can set a smaller value.
 var gSaveUpdateXMLDelay = 2000;
 var gUpdateMutexHandle = null;
 
 ChromeUtils.defineModuleGetter(this, "UpdateUtils",
                                "resource://gre/modules/UpdateUtils.jsm");
@@ -1619,17 +1617,16 @@ UpdateService.prototype = {
           // dialogs are shown in front of the app window, if possible.
           // See bug 311614.
           Services.obs.addObserver(this, APPID_TO_TOPIC[Services.appinfo.ID]);
           break;
         }
         // intentional fallthrough
       case "sessionstore-windows-restored":
       case "mail-startup-done":
-      case "xul-window-visible":
         if (Services.appinfo.ID in APPID_TO_TOPIC) {
           Services.obs.removeObserver(this,
                                       APPID_TO_TOPIC[Services.appinfo.ID]);
         }
         // intentional fallthrough
       case "test-post-update-processing":
         // Clean up any extant updates
         this._postUpdateProcessing();