[Webkit-unassigned] [Bug 256692] New: Web Inspector: More explicit error message for new URL("/")

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 12 02:30:47 PDT 2023


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

            Bug ID: 256692
           Summary: Web Inspector: More explicit error message for new
                    URL("/")
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com

Steps to reproduce

1. Open Web Inspector on STP 169
2. Go to console
3. type new URL("/")

Expected:
A bit more details on the message.

Actual:
TypeError: Type error
URL
Global Code


Firefox returns the most helpful message.
> URL constructor: / is not a valid URL.



see https://twitter.com/DasSurma/status/1656607199387430914

-- 
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/20230512/53855fb2/attachment.htm>


More information about the webkit-unassigned mailing list