rem: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete); 
add: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); 
context: XMLtermModule.registerSelf =function (compMgr, fileSpec, location, type){    dump("*** Registering -terminal handler.\n");        compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete);    compMgr.registerComponentWithType(XMLTERMCLINE_SERVICE_CID,                                      "XMLterm CommandLine Service",                                      XMLTERMCLINE_SERVICE_CONTRACTID, fileSpec,                                      location, true, true, type);        catman = Components.classes["@mozilla.org/categorymanager;1"]               .getService(nsICategoryManager);               	catman.addCategoryEntry("command-line-argument-handlers",                             "terminal command line handler",                 XMLTERMCLINE_SERVICE_CONTRACTID, true, true);    dump("*** Registering x-application-terminal handler.\n");    compMgr.registerComponentWithType(XMLTERMCNT_HANDLER_CID,                                      "XMLTerm Content Handler",                                      XMLTERMCNT_HANDLER_CONTRACTID, fileSpec,                                      location, true, true, type);    dump("*** Registering terminal protocol handler.\n");    compMgr.registerComponentWithType(XMLTERMPROT_HANDLER_CID,                                      "XMLTerm protocol handler",                                      XMLTERMPROT_HANDLER_CONTRACTID, fileSpec, location,                                      true, true, type);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/894fdcfaaf75211cd8124dc9fa1545183d819184/xmlterm-service.js/buggy/extensions/xmlterm/ui/xmlterm-service.js