You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature exposes files and directories the user explicitly selects to share with web sites with those web sites. This feature doesn't expose any more information than is already exposed via and today.
I would like to add to that note that there is also a method of using DataTransferItem.prototype.webkitGetAsEntry which is more powerful coming from a drag and drop event.
Here you have to possibility to read a file / folder over and over again and seeing new entries that have been added or changed. You can also read the content of a folder async which dose not block the main thread as opposite to the webkitdirectory which requires iterating over all files recursively.
picking a large folder using webkitdirectory is troublesome b/c it freezes the tab. both webkitGetAsEntry and the new getAsFileSystemHandle solves this problem. as it's only reading the content of one folder. so i think getAsFileSystemHandle is necessary / very useful.
You should also try to address Mozillas concern and there position on it.
"There's a subset of this API mozilla is quite enthusiastic about (in particular providing a read/write API for files and directories as alternative storage endpoint), but it is wrapped together with aspects for which we do not think meaningful end user consent is possible to obtain (in particular cross-site access to the end user's local file system). Overall we consider this harmful therefore, but Mozilla could be supportive of parts, provided this were segmented better."
so it maybe needs to address the "cross-site access" section of it all. making it more clear that a file handle from Site A can't be accessed from site B. That handles can't be transfered with postMessage
The questionnaire has changed over the years, and we should update this specification's answers to it, which are currently based on a 2019 version
In particular, new sections about non-fully-active documents are relevant to the recent proposals for new access modes for
FileSystemSyncAccessHandle
(see w3ctag/design-reviews#845 (comment)) and theFileSystemObserver
interfaceThe text was updated successfully, but these errors were encountered: