rem: const kClipboardIID = Components.interfaces.nsIClipboard; 
add: const kClipboardIID = Components.interfaces.nsIClipboard; 
context: function canPaste(){   const kClipboardIID = Components.interfaces.nsIClipboard;   var clipboard = getClipboard();  var flavourArray = new SupportsArray;   var flavours = ["text/calendar", "text/unicode"];      for (var i = 0; i < flavours.length; ++i)   {    var kSuppString = new SupportsCString;      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/dc28172d5625a01ff78c1d48886e99fccb318cfa/clipboard.js/clean/calendar/resources/content/clipboard.js