JSContext Inspector: Scripts not showing up in Resources tab
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2018 16:37:02 +0000 (16:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Aug 2018 16:37:02 +0000 (16:37 +0000)
commit0a24523dd8e71aaedfd40d60ce6c69857d91d6de
treea2adffe230275b73f24ce2f8d85b2f6acdbf3331
parent864313c89431a483eaf951368a58987ac4922127
JSContext Inspector: Scripts not showing up in Resources tab
https://bugs.webkit.org/show_bug.cgi?id=188814
<rdar://problem/43576117>

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2018-08-23
Reviewed by Brian Burg.

* UserInterface/Views/ResourceSidebarPanel.js:
(WI.ResourceSidebarPanel.prototype._addScript):
This path shouldn't apply to JSContext inspection which will
never have a pageTarget and but doesn't have a mainResource.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js