<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@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <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
<script>
console.log(Function("\n//# sourceURL=test.js\nreturn 1+1")());
</script>
I'd expect this to always create a Extra Script named "test.js" 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>