Re: [directory-upload] input.files shouldn't be null if directory attribute is used (or at least not if webkitdirectory attribute is also set) (#29)

Thinking this some more, I think we need to do it so that if webkitdirectory is set, then .files isn't null if user has selected some directory, but contains list of files in that directory (and subdirectories). Then, if one wants to use the new Promise based API, one must not set webkitdirectory but only directory. In that case .files would be null and the Promise returning methods would need to be used to access files and directories.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/directory-upload/issues/29#issuecomment-199873508

Received on Tuesday, 22 March 2016 15:45:33 UTC