rem: window.removedExceptions.push(item.date); 
add:  var addedRecently = false; for (var ii in window.addedExceptions) { if (window.addedExceptions[ii].compare(item.date) == 0) { window.addedExceptions.splice(ii, 1); addedRecently = true; break; } }  if (!addedRecently) { window.removedExceptions.push(item.date); } 
context: function removeSelectedException(){    var exceptionList = document.getElementById("recurrence-exceptions-listbox");    var item = exceptionList.selectedItem;    window.removedExceptions.push(item.date);    exceptionList.removeItemAt(exceptionList.getIndexOfItem(item));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/63157aab9fed94068900fbf5a503755b3f217050/calendar-recurrence-dialog.js/buggy/calendar/base/content/calendar-recurrence-dialog.js