[Web Share] Implement canShare() method
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: marcos, Assigned: marcos)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
Steps to reproduce:
Call navigator.canShare({})
Actual results:
Not implemented
Expected results:
It should be implemented in accordance with the w3c spec.
https://github.com/w3c/web-share/pull/177
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Comment 4•3 years ago
|
||
FYI Docs work for this in FF96 can be tracked in https://github.com/mdn/content/issues/10852.
This will be minimal because I recently did an update -https://developer.mozilla.org/en-US/docs/Web/API/Navigator/canShare . Mostly I think this just needs a BCD update.
Can you please confirm my assumptions
canShare
is (still) behind the same preference as the rest of the API- files and text cannot be shared. All you can share is URLs and a title.
canShare is (still) behind the same preference as the rest of the API
Yup.
files and text cannot be shared. All you can share is URLs and a title.
Text can be shared. That has always been the case on desktop, at least on Windows. I guess there was some confusion with this Android specific bug? https://github.com/mozilla-mobile/fenix/issues/11946#
Updated•3 years ago
|
Description
•