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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5db62cc0e05b24b4c91aee6d9a96246990a55f30/clipboard.js/buggy/calendar/resources/content/clipboard.js