Skip to content
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

Should the accept list be shared between Web Share Target V2 and file handling? #2

Closed
kenchris opened this issue Jan 14, 2019 · 3 comments

Comments

@kenchris
Copy link

They will most likely contain the same list as the app/site is able to handle the same mime types/files, so does it really make sense that these are duplicated? @mgiuca

@ewilligers
Copy link
Collaborator

The extension mapping discussed in w3c/web-share-target#74 could perhaps move to the top level of the manifest. Then only the list of MIME types would be listed twice. A web app might support only sharing or only file handing, so some repetition would be unavoidable.

@aarongustafson
Copy link

That was my thought as well. For example: a text composition app (Word, Docs, etc.) might exist as a handler to open a particular file type, but also accept sharing of images, videos, etc. into the currently open document. Combining the lists would make drawing that distinction potentially challenging (especially if you support a bunch of file formats in varying scenarios).

@fallaciousreasoning
Copy link
Collaborator

I tend to agree, it seems like there needs to be some kind of duplication to enable all use cases. Shall we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants