Summary: An API that allows websites to declare themselves as web share
targets, which can receive shared content from either the Web Share API, or
system events (e.g., shares from native apps).
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1476515
Fenix bug: https://github.com/mozilla-mobile/fenix/issues/5783
Standard: https://wicg.github.io/web-share-target/
Platform coverage: Android.
DevTools bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1586160
Other browsers: "shipped" in Chrome 71 -
https://www.chromestatus.com/features/5662315307335680.
Web-platform-tests: requires manual tests.
Secure contexts: Yes.
Is this feature enabled by default in sandboxed iframes? No.
If not, is there a proposed sandbox flag to enable it? No.
Link to standards-positions discussion:
https://github.com/mozilla/standards-positions/issues/176
How stable is the spec: somewhat stable, as it's shipping in Chrome. We hope by
implementing we will tease out any additional issues and make it stable.
Security & Privacy Concerns:
https://wicg.github.io/web-share-target/#security-and-privacy-considerations
Web designer / developer use-cases: PWAs may want to receive data from other
apps, such as sharing a URL to Twitter or sharing an image to Squoosh. Web
Share Target lets installed PWAs show up as entries in the Android share sheet.
Eventually this could be extended to other platforms as they add support for
sharing with websites (and not just native apps, as is currently the case on
Windows and MacOS).
Example: Please see
https://developers.google.com/web/updates/2018/12/web-share-target
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform