[Webkit-unassigned] [Bug 150009] Web Inspector: Line error widget showed in the wrong resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 25 17:16:56 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=150009

Timothy Hatcher <timothy at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #277277|review?                     |review+
              Flags|                            |

--- Comment #14 from Timothy Hatcher <timothy at apple.com> ---
Comment on attachment 277277
  --> https://bugs.webkit.org/attachment.cgi?id=277277
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=277277&action=review

>> Source/WebInspectorUI/UserInterface/Controllers/IssueManager.js:45
>> +            return issue.url === sourceCode.url || (issue.sourceCodeLocation && issue.sourceCodeLocation.sourceCode === sourceCode);
> 
> I think I should drop the url comparison here, or fallback to it if the sourceCodeLocation is unavailable. Otherwise, two dynamically added <script>s will both show this issue, even if the sourceCode specifically matches one of them.

Maybe we should nullify SourceCode's url for dynamic scripts after we associate things? Though it likely makes sense to just drop this compare too.

-- 
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/2e9bcca4/attachment.html>


More information about the webkit-unassigned mailing list