<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: sourceMappingURL not loaded in generated script"
   href="https://bugs.webkit.org/show_bug.cgi?id=156022#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: sourceMappingURL not loaded in generated script"
   href="https://bugs.webkit.org/show_bug.cgi?id=156022">bug 156022</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre>This is another great reduction!

Even after fixing <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: sourceMappingURL not used when sourceURL is set"
   href="show_bug.cgi?id=156021">bug 156021</a>, this exposes another issue. We aren't reliably detecting the sourceURL within functions created via `Function`.

* TEST
&lt;script&gt;
console.log(Function(&quot;\n//# sourceURL=test.js\nreturn 1+1&quot;)());
&lt;/script&gt;

I'd expect this to always create a Extra Script named &quot;test.js&quot; however it only does it rarely (once or twice) and then never again.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>