Add context menu for DOM panel properties



3 years ago
11 months ago


(Reporter: sebo, Unassigned)


(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)




3 years ago
The DOM panel should offer a context menu with options related to the current property. Those options should include options for:

- copying the name of the property
- copying the path of the property
- copying the value as string
- editing the property's value
- deleting the property
- using the property's value within the console

There may also be context sensitive options for different value types like:

- HTML element options like within the Inspector
- displaying the value in another panel (e.g. a CSSStyleRule within the Style Editor)
- storage options (e.g. clearing the storage)
- etc.

This would be a great test case for the new context menu API being added in Bug 1257613 instead of using xul menu elements directly.  So if this isn't urgent I'd like to block it on that (it's being worked on currently, feel free to remove the dependency if you'd like to start on this sooner).
Depends on: 1257613
Component: Developer Tools → Developer Tools: DOM


11 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.