Drag and Drop - setData with Download URL doesn't work for blobs. |
|||||||
Issue descriptionI have a demo I am building that enable the user to drag a HTML element out of the browser and on to the desktop. The data for the drop operation is generated entirely in the client via a constructing a blob. When setting DownloadURL on the dataTransfer object it doesn't work, a file is sent to the drop area but it's 0 bytes. DEMO: https://scarce-airmail.glitch.me/ DEMO code: https://glitch.com/edit/#!/scarce-airmail?path=public/index.html:20:11 Dropping a file that is on the server works. I would expect the same for content generated via a blob.
,
Jul 12 2017
,
Jul 12 2017
Sorry, was mis-reading. This one has nothing to do with SWs... Apart from DownloadURL not being defined anywhere, this one is probably more straightforward than issue 741778 since <a download> with blob URLs obvious works.
,
Jul 12 2017
,
Jul 13 2017
,
Jul 13
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 19
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by jsb...@chromium.org
, Jul 12 2017