Devtools SDK roadmap
Toolbox Pane Bug 980410 API.
In first cut this will be quite limited, and will only allow comunnication between toolbox pane document & inpected document.
We will gradually add more features to it:
- Support for remote tabs Bug 980421. This will require some work on devtools side itself. Note that ember inspector does not yet support it so once we have that they may have a good reason to update to get Firefox OS support.
Code injection into InspectionTarget / Debuggee Bug 980481
This is an object representing entity targeted by a developer
toolbox. Toolbox Pane API exposes it in a form of event.inspectionTarget
that implements message event source
API defined by HTML WebMessaging specification.
We need to expose a feature to evaluate code once toolbox pane is activated in order to instrument inspection target. We may be able to shoehorn page-mods, API for that, but would rather do something designed specifically for this, so that we could support remote targets for example.
Syntax Highlighters Bug 980523
Add-on should be able to define language grammer in some form that can run as non privileged code that can be registeder to syntax highlight any of our editors when file with relevant file extension is loaded (This seems like very low hanging fruit and all the to-js compiled languages will love us!)
We could either support CodeMirror modes or define a grammar in JSON file and write mode generator for codemirror.
Custom input handlers / compilers Bug 980553
API for add-ons, that can define compile(code, callback)
like hooks
for specefic languages to enable console, style editor, scratpad inputs
in those specefic languages and do a compilation on execution.
Custom output handlers / printers Bug 980555
API for add-ons, that can hook into as a middleware to provide custom printers for the values. API will be in form of simple HTML page that is posted a message with an object grip that it needs to render representation for.
Custom printers can be enabled in console along with custom input handlers, so that presentation of output will match presentation of input.
Note: This would require freezing object grip API on the devtools side.
Network handlers / debug middleware Bug 980570
API hook for add-ons that could interfer into network events and anotate them with some contexctual information. That can be displayed in the network panel.
Tab in a network panel sidebar that can take a grip for the network request / response and provide a custom visualisation for it.
Notes
Delivery estimates
Devtools should freeze it's grip API & stop rewriting console