Bug 142125

Summary: Web Inspector: Add Context Menus to Object Tree properties
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix timothy: review+

Joseph Pecoraro
Reported 2015-02-27 19:55:16 PST
* SUMMARY Add Context Menus to Object Tree properties. Things like: - copy path to property - jump to function definition - reveal node in DOM tree
Attachments
[PATCH] Proposed Fix (12.08 KB, patch)
2015-02-27 20:00 PST, Joseph Pecoraro
timothy: review+
Joseph Pecoraro
Comment 1 2015-02-27 20:00:31 PST
Created attachment 247584 [details] [PATCH] Proposed Fix This avoids context menus on Array indexes. I will have to come up with a better way to share the code between ArrayTreeElement and PropertyTreeElement. I'm thinking of making an ObjectTreeBaseTreeElement for the shared logic.
Timothy Hatcher
Comment 2 2015-02-27 21:03:04 PST
Comment on attachment 247584 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=247584&action=review > Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp:169 > + // FIXME: This should provide better details for JSBoundFunctions. Yes!
Timothy Hatcher
Comment 3 2015-02-27 21:03:36 PST
ObjectTreeBaseTreeElement sounds like a good idea.
Joseph Pecoraro
Comment 4 2015-03-02 11:33:57 PST
Note You need to log in before you can comment on or make changes to this bug.