I came to notice that for some reason it is not possible to transfer data from chrome to firefox or viceversa through a draggable object when the mime is set to application/json
.
See demo here: http://jsfiddle.net/n7N9p/4/
(Open that link in both, chrome and firefox and try dragging the JSON draggable from one browser to the other).
With that I have tested dragging the draggable in different scenarios:
- From CHROME to CHROME via text works.
- From CHROME to CHROME via application/json works.
- From CHROME to CHROME INCOGNITO via text works.
- From CHROME to CHROME INCOGNITO via application/json works.
- From FIREFOX to FIREFOX via text works.
- From FIREFOX to FIREFOX via application/json works.
- From FIREFOX to FIREFOX PRIVATE WINDOW via text works.
- From FIREFOX to FIREFOX PRIVATE WINDOW via application/json works.
- From CHROME to FIREFOX via text works.
- From CHROME to FIREFOX via application/json does not work.
- From FIREFOX to CHROME via text works.
- From FIREFOX to CHROME via application/json does not work.
Why does (only) 10 and 12 fail?
Is this a bug or security feature? If it is a security feature, then why is it insecure? How come 3, 4, 7 and 8 are not considered insecure? Why does it always work with the mime set to text
?