Bug 516506: Add-on update check (after Firefox update) is broken. r=robstrong
authorDave Townsend <dtownsend@oxymoronical.com>
Tue, 15 Sep 2009 12:09:10 +0100
changeset 32491 b23223d8222baaf56fd5896d75d5df1da824109f
parent 32490 cdcf1519121ffba0d8b376668390647d44980e0d
child 32492 9fddec8c335d932d8c649b6a565088434fe61381
push id9115
push userdtownsend@mozilla.com
push dateTue, 15 Sep 2009 11:09:36 +0000
treeherdermozilla-central@b23223d8222b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrobstrong
bugs516506
milestone1.9.3a1pre
Bug 516506: Add-on update check (after Firefox update) is broken. r=robstrong
toolkit/mozapps/extensions/content/update.js
--- a/toolkit/mozapps/extensions/content/update.js
+++ b/toolkit/mozapps/extensions/content/update.js
@@ -187,17 +187,17 @@ var gVersionInfoPage = {
   {
     gUpdateWizard.setButtonLabels(null, true,
                                   "nextButtonText", true,
                                   "cancelButtonText", false);
     var em = Components.classes["@mozilla.org/extensions/manager;1"]
                        .getService(nsIExtensionManager);
     // Synchronize the app compatibility info for all items.
     em.update([], 0, nsIExtensionManager.UPDATE_SYNC_COMPATIBILITY, this,
-              Ci.nsIExtensionManager.UPDATE_WHEN_NEW_APP_INSTALLED);
+              nsIExtensionManager.UPDATE_WHEN_NEW_APP_INSTALLED);
   },
 
   /////////////////////////////////////////////////////////////////////////////
   // nsIAddonUpdateCheckListener
   onUpdateStarted: function() {
     this._totalCount = gUpdateWizard.items.length;
   },
 
@@ -301,17 +301,17 @@ var gUpdatePage = {
 
     gUpdateWizard.errorItems = [];
 
     this._totalCount = gUpdateWizard.items.length;
     var em = Components.classes["@mozilla.org/extensions/manager;1"]
                        .getService(nsIExtensionManager);
     em.update(gUpdateWizard.items, this._totalCount,
               nsIExtensionManager.UPDATE_CHECK_NEWVERSION, this,
-              Ci.nsIExtensionManager.UPDATE_WHEN_NEW_APP_INSTALLED);
+              nsIExtensionManager.UPDATE_WHEN_NEW_APP_INSTALLED);
   },
 
   /////////////////////////////////////////////////////////////////////////////
   // nsIAddonUpdateCheckListener
   onUpdateStarted: function() {
   },
 
   onUpdateEnded: function() {