WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 216115
216841
new URL('
http://x
', undefined) should not throw an error
https://bugs.webkit.org/show_bug.cgi?id=216841
Summary
new URL('http://x', undefined) should not throw an error
Дилян Палаузов
Reported
2020-09-22 13:02:30 PDT
As of
https://github.com/zloirock/core-js/commit/8699b9a3024c1703d7b158ad3236288b38633af6
and
https://github.com/zloirock/core-js/issues/656
in WebKit 2.28.4 new URL('
http://x
', undefined) throws a TypeError, but in Firefox 89, Chromium 85, nodejs 14.9 it does not throw an error.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2020-09-22 15:33:07 PDT
I cannot reproduce this is Safari 14. Maybe already fixed?
sideshowbarker
Comment 2
2020-09-22 21:27:27 PDT
In my Safari Version 14.0 (15610.1.28.1.9) `new URL('
http://x
', undefined)` does throw. But in current Safari Technology Preview (Release 113, 15610.2.3.1), it doesn’t throw.
Radar WebKit Bug Importer
Comment 3
2020-09-29 13:03:19 PDT
<
rdar://problem/69760165
>
Yusuke Suzuki
Comment 4
2022-01-25 09:24:45 PST
Yes, it is fixed. Let's add a regression test for this.
Sam Sneddon [:gsnedders]
Comment 5
2022-07-04 22:34:18 PDT
*** This bug has been marked as a duplicate of
bug 216115
***
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