Open Bug 1487086 Opened 6 years ago Updated 2 years ago

Create a custom trait to allow remote use of toolbox buttons

Categories

(DevTools :: Framework, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: yulia, Unassigned)

References

Details

On the toolbox buttons we have three buttons that can be enabled for remote debugging. Paintflashing, screenshot, and rulers. In order to do so, we need to add a trait to the server:

https://searchfox.org/mozilla-central/source/devtools/server/actors/targets/browsing-context.js#253

We can then replace the isTargetSupported for those buttons with:
target.isBrowsingContext && target.activeTab.traits.myTrait
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.