[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 09:30:25 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229490
Alex Christensen <achristensen at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |achristensen at apple.com
Resolution|--- |INVALID
--- Comment #1 from Alex Christensen <achristensen at apple.com> ---
navigator.canShare({ url: "http://a.b:65536" })
> false
(not supported in Chrome and Firefox)
new URL("http://a.b:65536")
> TypeError
new URL("http://a.b:65536")
> URL {href: "http://a.b.65535/", ...}
(Same as Chrome and Firefox.)
C++
auto url = URL(URL(), "http://a.b:65536");
WTFLogAlways("valid? %d", url.isValid());
> valid? 0
Maybe you're using WebKit that is several years old, or maybe you're looking at the wrong thing.
--
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/20210825/7a142fa6/attachment.htm>
More information about the webkit-unassigned
mailing list