rem: const kSuppString = createSupportsString(); 
add: const kSuppString = createSupportsCString(); 
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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c04e796b709a259cb2c2097485f3942209644825/clipboard.js/buggy/calendar/resources/content/clipboard.js