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+

Description Joseph Pecoraro 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
Comment 1 Joseph Pecoraro 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.
Comment 2 Timothy Hatcher 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!
Comment 3 Timothy Hatcher 2015-02-27 21:03:36 PST
ObjectTreeBaseTreeElement sounds like a good idea.
Comment 4 Joseph Pecoraro 2015-03-02 11:33:57 PST
http://trac.webkit.org/changeset/180891