rem: return session.defaultCalendar.QueryInterface(iid); 
add: var cal = createWcapCalendar( null /* calId: null indicates default calendar */, session ); session.defaultCalendar = cal; return cal.QueryInterface( iid ); 
context:             createInstance: function( outer, iid ) {                if (outer)                    throw Components.results.NS_ERROR_NO_AGGREGATION;                var session = new calWcapSession();                return session.defaultCalendar.QueryInterface(iid);            }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c4f9cdeaecfeac45209d141d619bb5c7eb3827b4/calWcapCalendarModule.js/buggy/calendar/providers/wcap/calWcapCalendarModule.js