rem: this.notifyError( exc ); 
add: const calIWcapErrors = Components.interfaces.calIWcapErrors; switch (exc) { case calIWcapErrors.WCAP_NO_ERRNO: case calIWcapErrors.WCAP_ACCESS_DENIED_TO_CALENDAR: case calIWcapErrors.WCAP_CALENDAR_DOES_NOT_EXIST: this.log( "getFreeBusyTimes_resp() ignored: " + errorToString(exc) ); break; default: this.notifyError( exc ); break; } if (iListener != null) iListener.onGetFreeBusyTimes( exc, requestId, calId, 0, [] ); 
context:     getFreeBusyTimes_resp:    function( wcapResponse, calId, iListener, requestId )    {        try {            var xml = wcapResponse.data; // first statement, may throw            // don't notify if one of ignored errors: 28, 29            var errno = getWcapXmlErrno(xml);            if (errno == 0 && iListener != null) {                var ret = [];                var nodeList = xml.getElementsByTagName("FB");                for ( var i = 0; i < nodeList.length; ++i ) {                    var item = nodeList.item(i);                    var str = item.textContent;                    var slash = str.indexOf( '/' );                    var start = new CalDateTime();                    start.icalString = str.substr( 0, slash );                    var end = new CalDateTime();                    end.icalString = str.substr( slash + 1 );                    var entry = {                        isBusyEntry:                        (item.attributes.getNamedItem("FBTYPE").nodeValue                         == "BUSY"),                        dtRangeStart: start,                        dtRangeEnd: end                    };                    ret.push( entry );                }                iListener.onGetFreeBusyTimes(                    requestId, calId, ret.length, ret );            }            if (LOG_LEVEL > 0) {                this.log( "getFreeBusyTimes_resp() calId=" + calId + ", " +                          getWcapRequestStatusString(xml) );            }        }        catch (exc) {            this.notifyError( exc );        }    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/99eaaaada9e6f5f2a2f7fac9237c6e41ecf1eef7/calWcapCalendar.js/buggy/calendar/providers/wcap/calWcapCalendar.js