[Webkit-unassigned] [Bug 229490] Invalid URL are treated as valid in navigator.canShare()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 25 22:57:32 PDT 2021


--- Comment #3 from Alex Christensen <achristensen at apple.com> ---
I think the relevant sentence in the spec is this:
"If |url| is a URL the user agent deems potentially hostile (e.g., "file:") or wouldn't make sense to outside the scope of the document (e.g., "blob:"), return false."
from https://w3c.github.io/web-share/

I'm wondering why Edge and the web platform tests think that include data URLs.  They make sense outside the scope of the document and it's a judgement call as to whether the user agent deems them potentially hostile.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210826/1f6b8a0c/attachment-0001.htm>

More information about the webkit-unassigned mailing list