uppy/packages/@uppy/utils/src/getDroppedFiles
Evgenia Karunus cc8c6540af getDroppedFiles.js: handle exceptions better (#1797)
* @utils/getDroppedFiles.js - mild refactoring

* @utils/getDroppedFiles.js - added .info and .log on drop error

* @utils/getDroppedFiles.js - one more refactor

* @utils/getDroppedFiles.js - log error objects instead of strings
2019-08-30 14:45:21 +03:00
..
utils getDroppedFiles.js: handle exceptions better (#1797) 2019-08-30 14:45:21 +03:00
index.js getDroppedFiles.js: handle exceptions better (#1797) 2019-08-30 14:45:21 +03:00
README.md getDroppedFiles.js - moved into @uppy/utils, refactored 2019-04-17 01:30:32 +02:00

Influenced by:

Why do we not use getFilesAndDirectories() api?

It's a proposed spec that seems to be barely implemented anywhere. Supposed to work in Firefox and Edge, but it doesn't work in Firefox, and both Firefox and Edge support .webkitGetAsEntry() api anyway. This page e.g. shows how this spec is supposed to function: https://wicg.github.io/directory-upload/, but it only works because of the polyfill.js that uses .webkitGetAsEntry() internally.