[Webkit-unassigned] [Bug 150010] Web Inspector: React.js JSXTransformer produces bogus error locations
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 25 17:02:56 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=150010
--- Comment #10 from Joseph Pecoraro <joepeck at webkit.org> ---
Comment on attachment 277288
--> https://bugs.webkit.org/attachment.cgi?id=277288
[PATCH] Proposed Fix
View in context: https://bugs.webkit.org/attachment.cgi?id=277288&action=review
>> Source/WebInspectorUI/UserInterface/Models/Script.js:48
>> + // with the frame as a dynamic script.
>
> Is this so that hyperlinks to the fragment don't try to look it up in the document at 0/0?
This is so that we treat the script as separate from the main resource. A real inline <script>...</script> is treated as associated with the main resource because that is where its contents are. A dynamically added script doesn't have anything of value in the main resource's content, so it should be treated separately.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160426/a41757a0/attachment.html>
More information about the webkit-unassigned
mailing list