rem: if (itemFilter & calIWcapCalendar.ITEM_FILTER_REPLY_DECLINED) compstate += ";REPLY-DECLINED"; if (itemFilter & calIWcapCalendar.ITEM_FILTER_REPLY_ACCEPTED) compstate += ";REPLY-ACCEPTED"; if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_COMPLETED) compstate += ";REQUEST-COMPLETED"; 
context: function getItemFilterUrlPortions( itemFilter ){    var url = "";    switch (itemFilter &            Components.interfaces.calICalendar.ITEM_FILTER_TYPE_ALL) {    case Components.interfaces.calICalendar.ITEM_FILTER_TYPE_TODO:        url += "&component-type=todo"; break;    case Components.interfaces.calICalendar.ITEM_FILTER_TYPE_EVENT:        url += "&component-type=event"; break;    }        const calIWcapCalendar = Components.interfaces.calIWcapCalendar;    var compstate = "";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REPLY_DECLINED)        compstate += ";REPLY-DECLINED";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REPLY_ACCEPTED)        compstate += ";REPLY-ACCEPTED";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_COMPLETED)        compstate += ";REQUEST-COMPLETED";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_NEEDS_ACTION)        compstate += ";REQUEST-NEEDS-ACTION";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_NEEDSNOACTION)        compstate += ";REQUEST-NEEDSNOACTION";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_PENDING)        compstate += ";REQUEST-PENDING";    if (itemFilter & calIWcapCalendar.ITEM_FILTER_REQUEST_WAITFORREPLY)        compstate += ";REQUEST-WAITFORREPLY";    if (compstate.length > 0)        url += ("&compstate=" + compstate.substr(1));    return url;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/50dafc0b163e0df2f1405b136de455ba89d9f671/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js