File Handling Icons
- Category
- File APIs
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- Start incubating
WPT details: This feature will be partially tested on Web Platform Tests. Some tests will be manual or browser tests, as they are not currently testable using Web Platform Tests (for example, OS integration to open files using OS file managers).
Summary
Allow PWAs implementing File Handling to also specify icons for each set of file types. File Handling provides a way for web applications to declare the ability to handle files with given MIME types and extensions.
Motivation
Without File Handling Icons, apps that wish to have this functionality currently must be built as native applications (like electron apps, or shims to provide just this functionality). Alternatively, apps can redirect users to install different PWAs for different sets of file types, which is not respectful of users’ attention.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: Positive
- Tracking bug: https://crbug.com/1218213
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=file-handling-icons
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+File%20Handling%20Icons
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=File%20Handling%20Icons
- Baseline status: https://webstatus.dev/?q=File%20Handling%20Icons
Docs: https://docs.google.com/document/d/1OAkCvMwTVAf5KuHHDgAeCA3YwcTg_XmujZ7ENYq01ws/edit#
Explainers: https://github.com/WICG/file-handling/blob/main/explainer.md