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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 25 02:03:58 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229490

            Bug ID: 229490
           Summary: Invalid URL are treated as valid in
                    navigator.canShare()
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcos at marcosc.com

In Web Share's navigator.canShare() method, when passed:

  navigator.canShare({ url: "http://a.b:65536" })

WebKit returns true via URL::isValid(). However, the port is invalid.

-- 
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/373bd987/attachment.htm>


More information about the webkit-unassigned mailing list