rem: dump("Error deleting item: " + aStatusCode + "\n"); 
add: debug("Error deleting item: " + aStatusCode + "\n"); 
context:     deleteItem: function (aItem, aListener) {        if (aItem.id == null) {            if (aListener)                aListener.onOperationComplete (this,                                               Components.results.NS_ERROR_FAILURE,                                               aListener.DELETE,                                               aItem.id,                                               "ID doesn't exist for deleteItem");            return;        }        // XXX how are we REALLY supposed to figure this out?        var eventUri = this.mUri.clone();        eventUri.spec = eventUri.spec + aItem.id + ".ics";        var eventResource = new WebDavResource(eventUri);        var listener = new WebDavListener();        var savedthis = this;        listener.onOperationComplete = function(aStatusCode, aResource,                                                aOperation, aClosure) {            // 204 = HTTP "No content"            //            if (aStatusCode == 204) {                dump("Item deleted successfully.\n");                var retVal = Components.results.NS_OK;            } else {                dump("Error deleting item: " + aStatusCode + "\n");                // XXX real error handling here                retVal = Components.results.NS_ERROR_FAILURE;            }            // notify the listener            if (aListener)                aListener.onOperationComplete (savedthis,                                               Components.results.NS_OK,                                               aListener.DELETE,                                               aItem.id,                                               null);            // notify observers            // XXX call only if successful            savedthis.observeDeleteItem(aItem);        }        // XXX check etag/generation        // do WebDAV remove        var webSvc = Components.classes['@mozilla.org/webdav/service;1']            .getService(Components.interfaces.nsIWebDAVService);        webSvc.remove(eventResource, listener, null);        return;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6ce112157c454edeef096f5d8a49c9d2478d31c0/calDavCalendar.js/clean/calendar/providers/caldav/calDavCalendar.js