rem: var flavourArray = createSupportsArray(); 
add: var flavourArray = new SupportsArray; 
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 = createSupportsCString();      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/fceac241334a5a4dbf9d1341d70a0eb8c6bfe824/clipboard.js/clean/calendar/resources/content/clipboard.js