<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>216841</bug_id>
          
          <creation_ts>2020-09-22 13:02:30 -0700</creation_ts>
          <short_desc>new URL(&apos;http://x&apos;, undefined) should not throw an error</short_desc>
          <delta_ts>2022-07-04 22:34:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>Safari 13</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>216115</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Дилян Палаузов">dpa-webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mike</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1690830</commentid>
    <comment_count>0</comment_count>
    <who name="Дилян Палаузов">dpa-webkit</who>
    <bug_when>2020-09-22 13:02:30 -0700</bug_when>
    <thetext>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(&apos;http://x&apos;, undefined)

throws a TypeError, but in Firefox 89, Chromium 85, nodejs 14.9 it does not throw an error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690889</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-09-22 15:33:07 -0700</bug_when>
    <thetext>I cannot reproduce this is Safari 14. Maybe already fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1691021</commentid>
    <comment_count>2</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2020-09-22 21:27:27 -0700</bug_when>
    <thetext>In my Safari Version 14.0 (15610.1.28.1.9) `new URL(&apos;http://x&apos;, undefined)` does throw.

But in current Safari Technology Preview (Release 113, 15610.2.3.1), it doesn’t throw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693097</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-29 13:03:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/69760165&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833736</commentid>
    <comment_count>4</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2022-01-25 09:24:45 -0800</bug_when>
    <thetext>Yes, it is fixed. Let&apos;s add a regression test for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880636</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-07-04 22:34:18 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 216115 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>