rem: catman = Components.classes["@mozilla.org/categorymanager;1"] .getService(nsICategoryManager); catman.addCategoryEntry("command-line-argument-handlers", 
add: catman = Components.classes["@mozilla.org/categorymanager;1"] .getService(nsICategoryManager); catman.addCategoryEntry("command-line-argument-handlers", 
context: ChatzillaModule.registerSelf =function (compMgr, fileSpec, location, type){    dump("*** Registering -webcal handler.\n");    compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar);    compMgr.registerFactoryLocation(CLINE_SERVICE_CID,                                    "Calendar CommandLine Service",                                    CLINE_SERVICE_CONTRACTID,                                    fileSpec,                                    location,                                    type);	catman = Components.classes["@mozilla.org/categorymanager;1"]        .getService(nsICategoryManager);	catman.addCategoryEntry("command-line-argument-handlers",                            "calendar command line handler",                            CLINE_SERVICE_CONTRACTID, true, true);    dump("*** Registering text/calendar handler.\n");    compMgr.registerFactoryLocation(ICALCNT_HANDLER_CID,                                    "Webcal Content Handler",                                    ICALCNT_HANDLER_CONTRACTID,                                    fileSpec,                                    location,                                    type);    dump("*** Registering webcal protocol handler.\n");    compMgr.registerFactoryLocation(ICALPROT_HANDLER_CID,                                    "Webcal protocol handler",                                    ICALPROT_HANDLER_CONTRACTID,                                    fileSpec,                                    location,                                    type);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9a39f770c42356eb644a2f3bcd5fd9a9fc05e39c/calendarService.js/buggy/calendar/resources/content/calendarService.js