Open Bug 985486 Opened 11 years ago Updated 2 years ago

DevTools API: provide a way to register a sidebar tab on an existing panel for an extension

Categories

(DevTools :: Framework, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: bgrins, Unassigned)

References

Details

(Whiteboard: [firebug])

As discussed on https://groups.google.com/forum/#!topic/mozilla.dev.developer-tools/Lrhm4NROPqk, it would be great to have a way to register a sidebar tab on, say, the inspector tab and have the system automatically control visibility based on addon activation. gDevTools.registerTool does this for the panel itself (across multiple toolboxes, also), but it would be tricky I think right now for an addon to do with the sidebar well, so we should at least come up with and document a basic solution for this. There is already ToolSidebar (https://developer.mozilla.org/en-US/docs/Tools/DevToolsAPI#ToolSidebar) but I'm not sure if it works across toolboxes, and automatically removes the panel when the addon is disabled. If not, we could maybe extend this API to work for our case, come up with a new gDevTools.registerSidebar() function.
Whiteboard: [firebug]
Severity: normal → enhancement
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.