-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Handling #158
Comments
So the main use case seems to be operating on OS-level files in web applications whereby the OS knows about the relevant web application due to a prior visit of the user to that application (and whatever additional restrictions are applied on top). So instead of application -> file, you can now go file -> application, as you already could with native applications. The bits I don't like here:
It seems somewhat more natural to me that a service worker is involved here and that opens the application as appropriate and forwards the file handle to the appropriate place. |
In #274 @annevk is proposing a |
I'm happy to keep this open until there's been another update. The other worry I have is that creating good UI for this is hard and there might be quite bit of spam. Even with native applications it's usually pretty bad for common types. |
I think it's also worth noting that this has a dependency on native file system here. |
That's |
This API is launching in Chromium browsers as of Chromium 98. Just in case that should be a trigger for considering it further now. |
Support for it is being actively worked on in vscode.dev, excalidraw launched support for it during the Chrome 92 origin trial, as a Linux, CrOS, Windows and MacOS only feature, Android is notably missing. Safari 15.2 for MacOS 12 launched expanded File System API support, which is a prerequisite for all use cases, and also missing from Firefox https://caniuse.com/mdn-api_filesystemfilehandle I've filed an issue with caniuse to track File Handling API support. |
Request for Mozilla Position on an Emerging Web Specification
Other information
This proposal was just submitted for TAG review, and it seems at a high level like something I'd be interested in. I haven't looked at the details yet. It's still explainer-only; no spec yet.
The text was updated successfully, but these errors were encountered: