Changeset 235226 in webkit
- Timestamp:
- Aug 23, 2018, 9:37:02 AM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r235183 r235226 1 2018-08-23 Joseph Pecoraro <pecoraro@apple.com> 2 3 JSContext Inspector: Scripts not showing up in Resources tab 4 https://bugs.webkit.org/show_bug.cgi?id=188814 5 <rdar://problem/43576117> 6 7 Reviewed by Brian Burg. 8 9 * UserInterface/Views/ResourceSidebarPanel.js: 10 (WI.ResourceSidebarPanel.prototype._addScript): 11 This path shouldn't apply to JSContext inspection which will 12 never have a pageTarget and but doesn't have a mainResource. 13 1 14 2018-08-22 Devin Rousso <drousso@apple.com> 2 15 -
trunk/Source/WebInspectorUI/UserInterface/Views/ResourceSidebarPanel.js
r233686 r235226 312 312 313 313 // Target main resource. 314 if (script.target !== WI.pageTarget) { 315 if (script.isMainResource()) 316 this._addTargetWithMainResource(script.target); 317 this.contentTreeOutline.disclosureButtons = true; 318 return; 314 if (WI.sharedApp.debuggableType !== WI.DebuggableType.JavaScript) { 315 if (script.target !== WI.pageTarget) { 316 if (script.isMainResource()) 317 this._addTargetWithMainResource(script.target); 318 this.contentTreeOutline.disclosureButtons = true; 319 return; 320 } 319 321 } 320 322
Note:
See TracChangeset
for help on using the changeset viewer.