rem: for (var i = 0; i < aCount; i++) { listener.mEventArray.push(aItems[i]); } } 
add: for (var i = 0; i < aCount; i++) { listener.mEventArray.push(aItems[i]); } } 
context:     onGetResult: function (aCalendar, aStatus, aItemType, aDetail, aCount, aItems) {      for (var i = 0; i < aCount; i++) {        listener.mEventArray.push(aItems[i]);      }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3b6286fcaa2aa5d71c302da81d9f276bc06e859b/printDialog.js/buggy/calendar/resources/content/printDialog.js