Drag/Drop of directory results in bogus File entry in DataTransfer.files / HTMLInputElement.files |
||||||
Issue descriptionRepro: 1. Add <input type=file> to a page 2. Drag&drop a folder onto it Expected: Drop-action is not supported Actual: Drop permitted, "change" event fires 3. Inspect the HTMLInputElement's files collection Expected: files collection contains useful File elements Actual: files contains a single File * Has the name of the folder * Has a size e.g. 4096 * If you attempt to read the content with a FileReader the operations fails with name: "NotFoundError", message: "A requested file or directory could not be found at the time an operation was processed." NOTE: This also applies to drop targets via DataTransfer.files
,
Nov 8 2016
,
Apr 19 2017
Any chance we will get the bug fix soon?
,
Apr 19 2018
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
,
Apr 22 2018
,
Jun 15 2018
,
Jun 15 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by jsb...@chromium.org
, Mar 31 2016