WICG / entries-api

Spec defining browser support for file/directory upload by drag-and-drop
https://wicg.github.io/entries-api/
Other
41 stars 9 forks source link

File model conflicts with File API #37

Open annevk opened 4 years ago

annevk commented 4 years ago

See https://github.com/w3c/FileAPI/issues/41 for a discussion. We should have a single model for files in the web platform. (I.e., what kind of fields they have and what kind of values those fields can hold.)

inexorabletash commented 4 years ago

Yep. (As always, note that this attempts to document existing UA behavior, not define an API we're happy with)

We should check to see what UAs currently do with this API when given native files (via drag/drop or <input type=file>) with names that contain "forbidden" characters (NUL, / or \) ? I expect bugs and inconsistency, which might give us room to make some web-compatible fixes.

cc: @mkruisselbrink