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 32526 7fe137ccdd093e6d2dedfeba59b11705bc8bfebd
parent 32525 cfe399c3df4c42035865c8570b9cc48721e9707a
child 32527 0a786da1aee7eff0e4a56805474b03e5f8c21ca9
push id439
push userdtownsend@mozilla.com
push dateFri, 16 Oct 2009 23:48:05 +0000
reviewersrobstrong
bugs516506
milestone1.9.2b2pre
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() {