Chrome Version:69.0.3473.0 (Official Build) dev (64-bit)
OS: Chrome OS - 69.0.3473.0 (Official Build) dev (64-bit)
Platform 10820.0.0 (Official Build) dev-channel eve
Firmware Version Google_Eve.9584.151.0
Customisation ID GOOGLE-EVE
ARC 4861648
What steps will reproduce the problem?
(1) Visit https://drop-test.glitch.me/
(2) Drag the 'Drag this. It's supposed to be a file (Blob)'
(3) Drop it in to the Files App.
draggerBlob.addEventListener('dragstart', event => {
const file = new File(['hello world'], 'testing.png', {type: 'image/png'})
event.dataTransfer.effectAllowed = 'all';
event.dataTransfer.setData('DownloadURL', URL.createObjectURL(file));
console.log('dragstart - blob', event, event.dataTransfer.items)
});
What is the expected result?
Chrome should start a download of the file that is referenced in the data transfer object and download it to the Downloads Folder.
The above code should start a download of the file on the site.
This code works on Windows and Mac.
What happens instead?
Nothing, the Files App looks like it can receive the 'drop' but nothing is downloaded.
Comment 1 by sashab@chromium.org
, Jul 19Status: Available (was: Untriaged)