rem: url + "&fmt-out=text%2Fcalendar", utf8ToIcal, 
add: url + "&fmt-out=text%2Fcalendar", stringToIcal, 
context: calWcapCalendar.prototype.adoptItem = function( item, iListener ){    this.log( "adoptItem() call: " + item.title );    if (this.readOnly)        throw Components.interfaces.calIErrors.CAL_IS_READONLY;    try {        // xxx todo: really necessary when adding?        if (item.parentItem != item) {            this.logError( "adoptItem(): unexpected proxy!" );            debugger;            item.parentItem.recurrenceInfo.modifyException( item );            // ensure that we're looking at the base item            // if we were given an occurrence.            item = item.parentItem;            // will most probably lead to error => existing parent        }                var url = this.getStoreUrl( item );        url += this.encodeRecurrenceParams( item );        // (WCAP_STORE_TYPE_CREATE) error if existing item:        url += "&storetype=1";                var this_ = this;        this.issueAsyncRequest(            url + "&fmt-out=text%2Fcalendar", utf8ToIcal,            function( wcapResponse ) {                this_.adoptItem_resp( wcapResponse, iListener );            } );    }    catch (exc) {        if (iListener != null) {            iListener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.ADD,                item.id, exc );        }        this.notifyError( exc );    }    this.log( "adoptItem() returning." );};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/99eaaaada9e6f5f2a2f7fac9237c6e41ecf1eef7/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js