rem: const kDSContractID = "@mozilla.org/widget/dragservice;1"; const kDSIID = Components.interfaces.nsIDragService; this._mDS = Components.classes[kDSContractID].getService(kDSIID); 
add: var trans = supportsArray.GetElementAt(i); if (!trans) continue; trans = trans.QueryInterface(Components.interfaces.nsITransferable);  var data = { }; var length = { };  var currData = null; if (aAnyFlag) { var flavour = { }; trans.getAnyTransferData(flavour, data, length); if (data && flavour) { var selectedFlavour = aFlavourSet.flavourTable[flavour.value]; if (selectedFlavour) dataArray[i] = FlavourToXfer(data.value, length.value, selectedFlavour); } } else { var firstFlavour = aFlavourSet.flavours[0]; trans.getTransferData(firstFlavour, data, length); if (data && firstFlavour) dataArray[i] = FlavourToXfer(data.value, length.value, firstFlavour); } 
context:   get mDragService()    {      if (!this._mDS)         {          const kDSContractID = "@mozilla.org/widget/dragservice;1";          const kDSIID = Components.interfaces.nsIDragService;          this._mDS = Components.classes[kDSContractID].getService(kDSIID);        }      return this._mDS;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/3171ef77f19d54b46268d34b7eba6a05368381dd/nsDragAndDrop.js/clean/xpfe/global/resources/content/nsDragAndDrop.js