rem: pp.name = calendar.name; 
context:     registerCalendar: function(calendar) {        // bail if this calendar (or one that looks identical to it) is already registered        if (this.findCalendarID(calendar) > 0)            throw Components.results.NS_ERROR_FAILURE;        var pp = this.mRegisterCalendar.params;        pp.name = calendar.name;        pp.type = calendar.type;        pp.uri = calendar.uri.spec;        this.mRegisterCalendar.step();        this.mRegisterCalendar.reset();        //dump("adding [" + this.mDB.lastInsertRowID + "]\n");        //this.mCache[this.mDB.lastInsertRowID] = calendar;        this.mCache[this.findCalendarID(calendar)] = calendar;        for each (obs in this.mObservers)            obs.onCalendarRegistered(calendar);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a900c059739670f08b2946030aca01cb8bacb415/calCalendarManager.js/buggy/calendar/base/src/calCalendarManager.js