rem: for (var i = 0; i < flavours.length; ++i) { 
add:  for (var i = 0; i < flavours.length; ++i) { 
context: function canPaste(){   const kClipboardIID = Components.interfaces.nsIClipboard;   var clipboard = getClipboard();   var flavourArray = createSupportsArray();      var flavours = ["text/calendar", "text/unicode"];   for (var i = 0; i < flavours.length; ++i) {      const kSuppString = createSupportsString();      kSuppString.data = flavours[i];      flavourArray.AppendElement(kSuppString);   }   return clipboard.hasDataMatchingFlavors(flavourArray, kClipboardIID.kGlobalClipboard);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/23b9b03e6c9ba6463a474b7b7b108540202a9b40/calendarClipboard.js/buggy/calendar/resources/content/calendarClipboard.js