entries-api icon indicating copy to clipboard operation
entries-api copied to clipboard

Spec defining browser support for file/directory upload by drag-and-drop

Results 15 entries-api issues
Sort by recently updated
recently updated
newest added

Right now, Firefox populates an input element's `.webkitEntries` only when files are dragged-and-dropped onto the element, not when the file dialog is clicked and a file manually selected: https://bugzilla.mozilla.org/show_bug.cgi?id=1326031 Chrome...

When upload folder with russian symbols, such as 'й', webkitRelativePath returned not correct symbol. Example: https://jsfiddle.net/b14a2oup/3/ Video: https://drive.google.com/file/d/1inyCU4ny11Ks4yJMyJTaFPzwnC0CA-3D/view?usp=sharing

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...

What File and Directory Entries API features aren’t supported in mobile? I’m updating https://github.com/mdn/browser-compat-data for File and Directory Entries API features and am wondering what support to indicate for Chrome...

question

Somewhere (not necessarily in the spec) we should have a sample that generates a ZIP of the uploaded content. Safari does this automagically in some cases (`.app` directories; others... ?)...

There doesn't seem to be a way to add `FileSystemEntry` objects to a `DataTransferItemList`, preventing creating drag (and clipboard) events containing directories. This is currently preventing Chrome OS to implement...

API Additions

See https://bugs.chromium.org/p/chromium/issues/detail?id=102984 The expectation of at least one developer is that in this case: ```html ``` ... then if a directory is chosen, only image files would be included. In...

Given the ability to select a directory and upload it in its entirety, I can imagine a malicious site saying something like "please choose a directory to save your X...

Spec TODOs

Raised by @triblondon over in https://github.com/w3ctag/design-reviews/issues/215 What is the behavior if `` is used, i.e. if both `webkitdirectory` and `multiple` attributes are specified? Does one attribute override the other, or...

Chrome is inconsistent here across platforms. On Linux at least, a file `a-\-b` is allowed and can be uploaded. On Windows such a file is blocked. The spec right now...

question