We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From mdn/content#8381 (comment):
https://w3c.github.io/web-share/#validate-share-data
If the user agent believes sharing any of the files in files would result in a potentially hostile share, return false.
But the spec does not say what can be a "potentially hostile share".
The text was updated successfully, but these errors were encountered:
BTW, from what I see WebKit and Blink don't check such thing in canShare(). Should it be moved to share() instead?
canShare()
share()
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webshare/navigator_share.cc;l=77-104;drc=92b21970ffc4d2333c5081ccd1175d6c0ed9c6b0
https://webkit-search.igalia.com/webkit/rev/d9197df94519d81a87789468cb0a37d7f5c4048c/Source/WebCore/page/Navigator.cpp#128-145
Sorry, something went wrong.
Blink could be updated to match the spec, making canShare() more useful.
marcoscaceres
Successfully merging a pull request may close this issue.
From mdn/content#8381 (comment):
https://w3c.github.io/web-share/#validate-share-data
But the spec does not say what can be a "potentially hostile share".
The text was updated successfully, but these errors were encountered: