rem: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete); compMgr.registerComponentWithType( this.cid, "Close All Windows", this.contractId, fileSpec, location, true, true, type ); 
add: compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentRegistrar); compMgr.registerFactoryLocation( this.cid, "Close All Windows", this.contractId, fileSpec, location, type ); 
context:     registerSelf: function (compMgr, fileSpec, location, type) {        if (this.firstTime) {            this.firstTime = false;            throw Components.results.NS_ERROR_FACTORY_REGISTER_AGAIN;        }        compMgr = compMgr.QueryInterface(Components.interfaces.nsIComponentManagerObsolete);        compMgr.registerComponentWithType( this.cid,                                           "Close All Windows",                                           this.contractId,                                           fileSpec,                                           location,                                           true,                                           true,                                           type );    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/894fdcfaaf75211cd8124dc9fa1545183d819184/nsCloseAllWindows.js/buggy/xpfe/appshell/src/nsCloseAllWindows.js