rem: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete); compMgr.registerComponentWithType(Components.ID("{09cddbea-1dd2-11b2-aa15-c41ffea19d79}"), "Download Progress Listener", "@mozilla.org/download-manager/listener;1", fileSpec, location, true, true, type); 
add: var compReg = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); compReg.registerFactoryLocation(Components.ID("{09cddbea-1dd2-11b2-aa15-c41ffea19d79}"), "Download Progress Listener", "@mozilla.org/download-manager/listener;1", fileSpec, location, type); 
context:   registerSelf: function (compMgr, fileSpec, location, type)  {     compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete);    compMgr.registerComponentWithType(Components.ID("{09cddbea-1dd2-11b2-aa15-c41ffea19d79}"),                                      "Download Progress Listener",                                      "@mozilla.org/download-manager/listener;1", fileSpec,                                      location, true, true, type);  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/cfee269c3a6e911a8e3652cdcf27d878ee958622/nsDownloadProgressListener.js/clean/xpfe/components/download-manager/src/nsDownloadProgressListener.js