rem: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete); compMgr.registerComponentWithType(SMIME_EXTENSION_SERVICE_CID, "SMIME Account Manager Extension Service", SMIME_EXTENSION_SERVICE_CONTRACTID, fileSpec, location, true, true, type); 
add: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); compMgr.registerFactoryLocation(SMIME_EXTENSION_SERVICE_CID, "SMIME Account Manager Extension Service", SMIME_EXTENSION_SERVICE_CONTRACTID, fileSpec, location, type); 
context: SMIMEModule.registerSelf =function (compMgr, fileSpec, location, type){  dump("*** Registering smime account manager extension.\n");  compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete);  compMgr.registerComponentWithType(SMIME_EXTENSION_SERVICE_CID,                                      "SMIME Account Manager Extension Service",                                      SMIME_EXTENSION_SERVICE_CONTRACTID, fileSpec,                                      location, true, true, type);  catman = Components.classes["@mozilla.org/categorymanager;1"].getService(nsICategoryManager);  catman.addCategoryEntry("mailnews-accountmanager-extensions",                            "smime account manager extension",                            SMIME_EXTENSION_SERVICE_CONTRACTID, true, true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/894fdcfaaf75211cd8124dc9fa1545183d819184/smime-service.js/clean/mailnews/extensions/smime/src/smime-service.js