rem:  if (!this.mDragSession) this.mDragSession = this.mDragService.getCurrentSession(); if (this.mDragSession) { var flavourSet = aDragDropObserver.getSupportedFlavours(); var transferData = nsTransferable.get(flavourSet, this.getDragData, true); aEvent.preventBubble();  var multiple = "canHandleMultipleItems" in aDragDropObserver && aDragDropObserver.canHandleMultipleItems; var dropData = multiple ? transferData : transferData.first.first; aDragDropObserver.onDrop(aEvent, dropData, this.mDragSession); } 
add: if (!this.checkCanDrop(aEvent, aDragDropObserver)) return; if (this.mDragSession.canDrop) { var flavourSet = aDragDropObserver.getSupportedFlavours(); var transferData = nsTransferable.get(flavourSet, this.getDragData, true);  var multiple = "canHandleMultipleItems" in aDragDropObserver && aDragDropObserver.canHandleMultipleItems; var dropData = multiple ? transferData : transferData.first.first; aDragDropObserver.onDrop(aEvent, dropData, this.mDragSession); } aEvent.preventBubble(); 
context:   drop: function (aEvent, aDragDropObserver)    {      if (!("onDrop" in aDragDropObserver))        return;              if (!this.mDragSession)         this.mDragSession = this.mDragService.getCurrentSession();      if (this.mDragSession)        {          var flavourSet = aDragDropObserver.getSupportedFlavours();          var transferData = nsTransferable.get(flavourSet, this.getDragData, true);          aEvent.preventBubble();          // hand over to the client to respond to dropped data          var multiple = "canHandleMultipleItems" in aDragDropObserver && aDragDropObserver.canHandleMultipleItems;          var dropData = multiple ? transferData : transferData.first.first;          aDragDropObserver.onDrop(aEvent, dropData, this.mDragSession);        }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/96b34b2c99f24a95e4671dce06166577cc244940/nsDragAndDrop.js/clean/xpfe/global/resources/content/nsDragAndDrop.js