rem: if (outer) 
add: if (outer != null) 
context:     getClassObject:    function( compMgr, cid, iid )    {        if (!this.m_scriptsLoaded) {            // loading extra scripts from ../js:            const scripts = [ "calWcapUtils.js", "calWcapErrors.js",                              "calWcapRequest.js", "calWcapSession.js",                              "calWcapCalendar.js", "calWcapCalendarItems.js",                              "calWcapCachedCalendar.js" ];            var scriptLoader =                Components.classes["@mozilla.org/moz/jssubscript-loader;1"]                .createInstance(Components.interfaces.mozIJSSubScriptLoader);            var ioService = getIoService();            var baseDir = __LOCATION__.parent.parent;            baseDir.append("js");            for each ( var script in scripts ) {                var scriptFile = baseDir.clone();                scriptFile.append(script);                scriptLoader.loadSubScript(                    ioService.newFileURI(scriptFile).spec, null );            }            initWcapProvider();            this.m_scriptsLoaded = true;        }                if (!iid.equals( Components.interfaces.nsIFactory ))            throw Components.results.NS_ERROR_NOT_IMPLEMENTED;        if (!cid.equals( calWcapCalendar.prototype.classID ))            throw Components.results.NS_ERROR_NO_INTERFACE;                return { // nsIFactory:            lockFactory: function( lock ) {},            createInstance: function( outer, iid ) {                if (outer)                    throw Components.results.NS_ERROR_NO_AGGREGATION;                var session = new calWcapSession();                return session.defaultCalendar.QueryInterface(iid);            }        };    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9484cd5028816c4e1bd9dd2ed1d9d090116e32ad/calWcapCalendarModule.js/clean/calendar/providers/wcap/calWcapCalendarModule.js