rem: } 
add: }, 
context:     searchForCalendars_queued:    function( searchString, searchOptions, listener, requestId )    {        try {            var url = this.getCommandUrl("search_calprops");            url += ("&search-string=" + encodeURIComponent(searchString));            url += ("&searchOpts=" + (searchOptions & 3).toString(10));            const calIWcapSession = Components.interfaces.calIWcapSession;            if (searchOptions & calIWcapSession.SEARCH_INCLUDE_CALID)                url += "&calid=1";            if (searchOptions & calIWcapSession.SEARCH_INCLUDE_NAME)                url += "&name=1";            if (searchOptions & calIWcapSession.SEARCH_INCLUDE_OWNER)                url += "&primaryOwner=1";            url += "&fmt-out=text%2Fxml";                        var this_ = this;            this.issueAsyncRequest(                url,                // string to xml converter func without WCAP errno check:                function(data) {                    if (!data || data == "") { // assuming time-out                        throw new Components.Exception(                            "Login failed. Invalid session ID.",                            Components.interfaces.calIWcapErrors                            .WCAP_LOGIN_FAILED );                    }                    return getDomParser().parseFromString(data, "text/xml");                },                // response func:                function(wcapResponse) {                    this_.searchForCalendars_resp(                        wcapResponse, listener, requestId);                } );        }        catch (exc) {            this.notifyError(exc);            if (listener)                listener.onSearchForCalendarsResults(exc, requestId, 0, []);        }    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/89b24d85225964d30a2d9a8ff00b22e173923eeb/calWcapSession.js/clean/calendar/providers/wcap/calWcapSession.js