rem:  var pbi = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch2); pbi.removeObserver("browser.download.", gDownloadPrefObserver);  var observerService = Components.classes[kObserverServiceProgID] .getService(Components.interfaces.nsIObserverService); observerService.removeObserver(gDownloadObserver, "dl-done"); observerService.removeObserver(gDownloadObserver, "dl-cancel"); observerService.removeObserver(gDownloadObserver, "dl-failed"); observerService.removeObserver(gDownloadObserver, "dl-start"); 
context: function Shutdown() {  gDownloadManager.removeListener(gDownloadListener);  var pbi = Components.classes["@mozilla.org/preferences-service;1"]                      .getService(Components.interfaces.nsIPrefBranch2);  pbi.removeObserver("browser.download.", gDownloadPrefObserver);  var observerService = Components.classes[kObserverServiceProgID]                                  .getService(Components.interfaces.nsIObserverService);  observerService.removeObserver(gDownloadObserver, "dl-done");  observerService.removeObserver(gDownloadObserver, "dl-cancel");  observerService.removeObserver(gDownloadObserver, "dl-failed");    observerService.removeObserver(gDownloadObserver, "dl-start");  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/43455f9fc69a7b8e33dae13cc90fd333fc5448d2/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js