rem: gUpdateWizard.errorItems = [];  var updates = Components.classes["@mozilla.org/updates/update-service;1"] .getService(Components.interfaces.nsIUpdateService); updates.checkForUpdatesInternal(gUpdateWizard.items, gUpdateWizard.items.length, gUpdateTypes, gSourceEvent); 
add: var em = Components.classes["@mozilla.org/extensions/manager;1"] .getService(Components.interfaces.nsIExtensionManager); em.update(gUpdateWizard.items, gUpdateWizard.items.length, nsIExtensionManager.UPDATE_MODE_VERSION, true); 
context:   onPageShow: function ()  {    gUpdateWizard.setButtonLabels(null, true,                                   "nextButtonText", true,                                   "cancelButtonText", true);    document.documentElement.getButton("next").focus();    var os = Components.classes["@mozilla.org/observer-service;1"]                       .getService(Components.interfaces.nsIObserverService);    for (var i = 0; i < this._messages.length; ++i)      os.addObserver(this, this._messages[i], false);    gUpdateWizard.errorItems = [];    var updates = Components.classes["@mozilla.org/updates/update-service;1"]                            .getService(Components.interfaces.nsIUpdateService);    updates.checkForUpdatesInternal(gUpdateWizard.items, gUpdateWizard.items.length,                                     gUpdateTypes, gSourceEvent);  },
meta: 7628	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7628/7051d29a77ef2e0bc04610fb427f20ca78197995/update.js/clean/content/update.js