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

Web Share Target #176

Closed
marcoscaceres opened this issue Jun 25, 2019 · 7 comments · Fixed by #355
Closed

Web Share Target #176

marcoscaceres opened this issue Jun 25, 2019 · 7 comments · Fixed by #355
Labels
position: positive venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG)

Comments

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Jun 25, 2019

Request for Mozilla Position on an Emerging Web Specification

Other information

An API that allows websites to declare themselves as web share targets, which can receive shared content from either the Web Share API (see #27), or system events (e.g., shares from native apps).

cc @mgiuca

@marcoscaceres marcoscaceres added the venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG) label Jun 25, 2019
@marcoscaceres
Copy link
Contributor Author

As we are pretty much done with prototyping Web Share, we'd like to begin prototyping this feature in Fenix.

mozilla-mobile/fenix#5783

I've updated #183 to reflect that.

@marcoscaceres
Copy link
Contributor Author

Intent to prototype on dev-platform.

@dbaron
Copy link
Contributor

dbaron commented Oct 21, 2019

FWIW, there might be a little material of interest in w3ctag/design-reviews#221.

@dbaron
Copy link
Contributor

dbaron commented Mar 24, 2020

@marcoscaceres So given the intent, I assume you'd give this a worth prototyping position?

During the TAG review I think I was reasonably happy about where this spec ended up; the connection to existing form submission mechanisms seems to avoid a lot of the potential complexity.

One thing I realized, after a more recent discussion about app manifests -- is it OK for an API to be exposed only through Web App Manifest, or are Web App Manifests intended to be syntactic sugar for features that are also available elsewhere? (But manifests may in some cases allow the features to be available for a page the user hasn't actually opened yet.) In other words, should there also be some sort of explicit registration/unregistration API for this as well?

@marcoscaceres
Copy link
Contributor Author

@marcoscaceres So given the intent, I assume you'd give this a worth prototyping position?

Yes, that would be great.

One thing I realized, after a more recent discussion about app manifests -- is it OK for an API to be exposed only through Web App Manifest, or are Web App Manifests intended to be syntactic sugar for features that are also available elsewhere?

I think this is something we need to figure out more broadly for the Web. "Installing" a web application shouldn't necessarily enable this capability for free. For Share, there is still a user action involved in selecting a share target from the share sheet or share context-menu.

In other words, should there also be some sort of explicit registration/unregistration API for this as well?

As above - something we need to explore. For some potentially non-harmful features, maybe not because the user has gone through an installation ceremony. But with others yes, like (hypothetically) with something like Payment Handlers: it may signal that it's a "payment handler" via web manifest, but still require an explicit permission grant from the user to handle payments.

@marcoscaceres
Copy link
Contributor Author

I'm hoping we can close this one too with "worth prototyping", but I'm a bit unsure what to put in the position details. @dbaron, any suggestions?

@andreasbovens
Copy link

Here's a vote for "worth prototyping".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
position: positive venue: W3C CG Specifications in W3C Community Groups (e.g., WICG, Privacy CG)
Projects
None yet
4 participants