WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
256692
More explicit error message for new URL("/")
https://bugs.webkit.org/show_bug.cgi?id=256692
Summary
More explicit error message for new URL("/")
Karl Dubost
Reported
2023-05-12 02:30:47 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-12 02:31:00 PDT
<
rdar://problem/109253920
>
Karl Dubost
Comment 2
2023-05-12 02:54:18 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13802
EWS
Comment 3
2023-05-16 16:21:49 PDT
Committed
264129@main
(e60a65f91bc5): <
https://commits.webkit.org/264129@main
> Reviewed commits have been landed. Closing PR #13802 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug