rem: var prop = enumerator.getNext().QueryInterface( Components.interfaces.nsIProperty); var name = prop.name; if (name.indexOf("X-MOZ-") == 0) { if (LOG_LEVEL > 1) log("tunneling " + name, this); destItem.setProperty(name, prop.value); 
add: try { var prop = enumerator.getNext().QueryInterface(Components.interfaces.nsIProperty); var name = prop.name; if (name.indexOf("X-MOZ-") == 0) { switch (name) {  case "X-MOZ-SNOOZE-TIME": if (!alarmOffset) break;  default: if (LOG_LEVEL > 1) log("tunneling " + name + "=" + prop.value, this); destItem.setProperty(name, prop.value); break; } } } catch (exc) { logError(exc, this); 
context: function calWcapCalendar_tunnelXProps(destItem, srcItem){    // xxx todo: temp workaround for bug in calItemBase.js    if (!isParent(srcItem))        return;    var enumerator = srcItem.propertyEnumerator;    while (enumerator.hasMoreElements()) {        var prop = enumerator.getNext().QueryInterface(            Components.interfaces.nsIProperty);        var name = prop.name;        if (name.indexOf("X-MOZ-") == 0) {            if (LOG_LEVEL > 1)                log("tunneling " + name, this);            destItem.setProperty(name, prop.value);        }    }};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/64fa0031c18ffbcccb6d772168cab3b330d991f6/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js