Open Bug 1267234 Opened 8 years ago Updated 2 years ago

Add context menu for DOM panel properties

Categories

(DevTools :: DOM, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug)

Details

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.

Sebastian
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
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.