Bug 189779
Summary: | Dragging files from iTunes to Safari doesn't work in 90% cases, related to HTML5 drag and drop. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniil Pokrovsky <daniil.pokrovsky> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aestes, ap, daniil.pokrovsky, rniwa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 11 | ||
Hardware: | Mac | ||
OS: | macOS 10.13 |
Daniil Pokrovsky
Summary:
Dragging files from iTunes to Safari doesn't work in 90% cases, related to HTML5 drag and drop. Works in Firefox and Chrome.
Steps to Reproduce:
1. Open https://jsbin.com/ciporoq/edit?js,console,output
2. In iTunes select several files present on local disk, drag it to DROP container on the page above, try 10+ times, depending on luck it sometimes will show all your selected files, sometimes only few, sometimes 0.
Expected behavior:
All dragged files should appear in container.
Expected Results:
event.dataTransfer.files must contain list of ALL dragged files
Actual Results:
Depending on the luck sometimes files property contain all your selected files, sometimes few, sometimes 0.
Version/Build:
Safari 11+ including Technology Preview, probably affects older versions.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/44708271>
Ryosuke Niwa
Hm... this appears to be some sort of a race in WebKit's code. I can reproduce the problem locally. Chrome / Firefox don't have the same problem when I drag & drop the same file from iTunes.
Lucas Forschler
Mass move bugs into the DOM component.
Ryosuke Niwa
Another bug which belongs to UI Events.