rem:  return clipboard.hasDataMatchingFlavors(flavourArray, kClipboardIID.kGlobalClipboard); 
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/2007_temp/2007/9421/5bcdf565668b6649f1aa145994eba7bbd457cb02/clipboard.js/buggy/calendar/resources/content/clipboard.js