Define what "hostile share" is
Closed this issue · 2 comments
saschanaz commented
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".
saschanaz commented
BTW, from what I see WebKit and Blink don't check such thing in canShare()
. Should it be moved to share()
instead?
ewilligers commented
Blink could be updated to match the spec, making canShare()
more useful.