Open Bug 1124775 Opened 6 years ago Updated 4 years ago
Drag and Drop data
Transfer .types contains Files when there are none
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140923175406 Steps to reproduce: Drag an image from the same or another Firefox tab onto a dropzone. See here for more details: http://jsfiddle.net/xseFs/46/ Drag an image from your file system (Finder, Nautilus etc) over the test are, if it contains files, you will see it change to true, and ondrop, you will see the file list. Drag an image from another tab (Google images et al) and it will say it contains files, but when you drop there is nothing there. Actual results: The event.dataTransfer.types contains the value "Files". When dropping there are no files in event.dataTransfer.files. Expected results: "Files" should not be in the event.dataTransfer.types when dragging an image over from another page / tab.
Ubuntu 14.10 Firefox 36.0.1 I see this occuring in multiple scenarios - dragging plain text from gedit - dragging links from other browser window - dragging image from other browser window In these cases dataTransfer.types include 'Files' when it should not.
Component: Untriaged → Drag and Drop
Product: Firefox → Core
Yip - same bug - it might be worth keeping the example though.
I tested this on Mac or Linux and don't see this bug.
You need to log in before you can comment on or make changes to this bug.