rem: if (items.length > 1) { this_.notifyError("unexpected number of items: " + items.length); } 
add: if (items.length > 1) this_.notifyError("unexpected number of items: " + items.length); 
context:                        function netResp(err, icalRootComp) {                           if (err)                               throw err;                           var items = this_.parseItems(                               icalRootComp,                               calICalendar.ITEM_FILTER_ALL_ITEMS,                               0, null, null, true /* bLeaveMutable */);                           if (items.length < 1)                               throw new Components.Exception("empty VCALENDAR returned!");                           if (items.length > 1) {                               this_.notifyError("unexpected number of items: " +                                                 items.length);                           }                           var item = items[0];                           this_.tunnelXProps(item, newItem);                           item.makeImmutable();                           // invalidate cached results:                           delete this_.m_cachedResults;                           // xxx todo: maybe log request status                           request.execRespFunc(null, item);                       });
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/64fa0031c18ffbcccb6d772168cab3b330d991f6/calWcapCalendarItems.js/clean/calendar/providers/wcap/calWcapCalendarItems.js