Intent to Prototype: File Handling Icons

33 views
Skip to first unread message

Darwin Huang

unread,
Jun 16, 2021, 7:34:30 PM6/16/21
to blink-dev, Chase Phillips, Marijn Kruisselbrink

Contact emails

huang...@chromium.orgc...@chromium.org

Explainer

https://github.com/WICG/file-handling/blob/main/explainer.md

Specification

None

Design docs


https://docs.google.com/document/d/1OAkCvMwTVAf5KuHHDgAeCA3YwcTg_XmujZ7ENYq01ws/edit#

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.


Blink component

UI>Browser>WebAppinstalls

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.


Initial public proposal

https://github.com/WICG/file-handling/issues/24

Search tags

filesfile handlingmimeicon

TAG review


TAG review status

Pending

Risks



Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: Positive (https://discourse.wicg.io/t/file-extension-association/2426)

Ergonomics

This may be used with file system access and installed PWAs often. No performance concerns from using File Handling in tandem with these APIs.



Activation

Documentation and outreach may be helpful, as this API is part of File Handling, which is a bit complex (file handlers are registered with the OS during install-time, and launched by the user opening a file with the installed PWA after install).



Security

Please see the File Handling security model, which also discusses icon support: https://docs.google.com/document/d/1pTTO5MTSlxuqxpWL3pFblKB8y8SR0jPao8uAjJSUTp4/edit



Debuggability

N/A



Is this feature fully tested by web-platform-tests?

No

Flag name

#file-handling-icons

Tracking bug

https://crbug.com/1083901

Launch bug

https://crbug.com/1216695

Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/6302723123183616

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages