Changeset 183376 in webkit
- Timestamp:
- Apr 26, 2015, 6:25:50 PM (10 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r183375 r183376 1 2015-04-26 Timothy Hatcher <timothy@apple.com> 2 3 Web Inspector: Allow Timeline tab to show resource when a go-to arrow is clicked in a recording 4 https://bugs.webkit.org/show_bug.cgi?id=144240 5 6 Only support showing a resource or script if we have that represented object in the Timeline sidebar. 7 8 Reviewed by Darin Adler. 9 10 * UserInterface/Views/TimelineTabContentView.js: 11 (WebInspector.TimelineTabContentView.prototype.canShowRepresentedObject): 12 1 13 2015-04-26 Timothy Hatcher <timothy@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js
r183323 r183376 48 48 canShowRepresentedObject: function(representedObject) 49 49 { 50 return representedObject instanceof WebInspector.TimelineRecording; 50 if (representedObject instanceof WebInspector.TimelineRecording) 51 return true; 52 53 // Only support showing a resource or script if we have that represented object in the sidebar. 54 if (representedObject instanceof WebInspector.Resource || representedObject instanceof WebInspector.Script) 55 return !!this.navigationSidebarPanel.treeElementForRepresentedObject(representedObject); 56 57 return false; 51 58 }, 52 59
Note:
See TracChangeset
for help on using the changeset viewer.