Summary: | Web Inspector: Add Context Menus to Object Tree properties | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
Component: | Web Inspector | Assignee: | 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
Joseph Pecoraro
2015-02-27 19:55:16 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 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! ObjectTreeBaseTreeElement sounds like a good idea. |