Re: [directory-upload] Consider renaming getDirectoriesAndFiles to fsitems or getFSItems (#32)

Re: "property be a `Promise`"

There are instances in Web Animations, CSS Font Loading, Streams, Service Workers. (Probably more, those are just some of the ones I found implemented in Blink so far.) Newish but not crazy. 

But... are we talking about this on `Directory`, or `HTMLInputElement`, or both?

On `Directory` it makes sense assuming it is immutable, like `File`. But what happens if you call `input.chooseDirectory()` - the value returned by the attribute accessor would swap out for a new, as-yet-unresolved Promise, I guess? That feels a bit odd, but then again I proposed the same thing in https://github.com/inexorabletash/indexeddb-promises for cursors.


---
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/32#issuecomment-200556381

Received on Wednesday, 23 March 2016 21:49:25 UTC