<?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>218275</bug_id>
          
          <creation_ts>2020-10-28 00:41:20 -0700</creation_ts>
          <short_desc>Web Inspector: error line number missing when code is a module, making debugging difficult</short_desc>
          <delta_ts>2020-10-28 10:50:25 -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>Web Inspector</component>
          <version>Safari 14</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Andreas">andreas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andreas</cc>
    
    <cc>bburg</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>keith_miller</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1702244</commentid>
    <comment_count>0</comment_count>
      <attachid>412510</attachid>
    <who name="Andreas">andreas</who>
    <bug_when>2020-10-28 00:41:20 -0700</bug_when>
    <thetext>Created attachment 412510
Test which demonstrates the error

In the attached file the script tags contain the same syntax error. 
Both errors appear in the console but only one shows the correct line number. 
This is happens for a vast series of errors and in many situations, making it difficult to debug code in ES6 (and also promises).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1702380</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-28 10:50:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/70770767&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>412510</attachid>
            <date>2020-10-28 00:41:20 -0700</date>
            <delta_ts>2020-10-28 00:49:06 -0700</delta_ts>
            <desc>Test which demonstrates the error</desc>
            <filename>error_test.html</filename>
            <type>text/html</type>
            <size>504</size>
            <attacher name="Andreas">andreas</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIiA+CjxoZWFkPgoJPG1ldGEgY2hhcnNldD0i
dXRmLTgiPgoJPHRpdGxlPkVycm9yIGluIG1vZHVsZXMgdGVzdDwvdGl0bGU+CjwvaGVhZD4KPGJv
ZHk+Cgk8cHJlPkNvbnNvbGUgb3V0cHV0IG9ubHk8L3ByZT4KCTwhLS0KCVNhZmFyaSAvIFdlYktp
dDoKCVdoZW4gdGhlIHNjcmlwdCBpcyBvZiB0eXBlPSJtb2R1bGUiIHRoZSBsaW5lIG51bWJlcgoJ
b2YgdGhlIGVycm9yIHdvbuKAmXQgYmUgcHJpbnRlZCB0byB0aGUgY29uc29sZS4KCUNoZWNrIHRo
ZSBjb25zb2xlIGZvciB0aGUgdHdvIGVycm9ycy4KCS0tPgoJPHNjcmlwdD4KCQlmdW5jdGlvbiBh
KCAvLyA8LS0gc29tZSBzeW50YXggZXJyb3IgaGVyZSwgbGluZSAxNi0xNwoJPC9zY3JpcHQ+CgoJ
PHNjcmlwdCB0eXBlPSJtb2R1bGUiPgoJCWZ1bmN0aW9uIGIoIC8vIDwtLSBzb21lIHN5bnRheCBl
cnJvciBoZXJlbSBsaW5lIDIwLTIxCgk8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>