rem: if (trigger.updateEnabled()) trigger.install(installObj); break; */ 
add: if (InstallTrigger.updateEnabled()) InstallTrigger.install(installObj);  document.documentElement.acceptDialog(); break; 
context:   observe: function (aSubject, aTopic, aData)  {    switch (aTopic) {    case "update-started":      dump("*** update-started: " + aSubject + ", " + aData + "\n");      break;    case "update-item-started":      dump("*** update-item-started: " + aSubject + ", " + aData + "\n");      break;    case "update-item-ended":      dump("*** update-item-ended: " + aSubject + ", " + aData + "\n");      break;    case "update-ended":      dump("*** update-ended: " + aSubject + ", " + aData + "\n");/*      var installObj = { };      for (var i = 0; i < aExtensions.length; ++i) {          var e = aExtensions[i];        var name = ds.getExtensionProperty(e.id, "name");        installObj[name + " " + e.version] = e.xpiURL;      }      if (trigger.updateEnabled())        trigger.install(installObj);      break; *//*        case "update-start":      dump("*** update-start: " + aSubject + ", " + aData + "\n");      break;    case "update-item-network-start":      dump("*** update-item-network-start: " + aSubject + ", " + aData + "\n");      break;    case "update-item-network-end":      dump("*** update-item-network-end: " + aSubject + ", " + aData + "\n");      break;    case "update-item-processing-start":      dump("*** update-item-processing-start: " + aSubject + ", " + aData + "\n");      break;    case "update-item-processing-end":      dump("*** update-item-processing-end: " + aSubject + ", " + aData + "\n");      break;    case "update-item-error":      dump("*** update-item-error: " + aSubject + ", " + aData + "\n");      break;    case "update-end":      dump("*** update-end: " + aSubject + ", " + aData + "\n");            // Report Status            // Unhook observers      var os = Components.classes["@mozilla.org/observer-service;1"]                         .getService(Components.interfaces.nsIObserverService);      for (var i = 0; i < this._messages.length; ++i)        os.removeObserver(this, this._messages[i]);          break;*/          }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1c2b923fe976b6ffd381ab5fd5050f3e8e6a0a0b/update.js/buggy/toolkit/mozapps/extensions/content/update.js