Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Gozala
Created March 11, 2014 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gozala/9490234 to your computer and use it in GitHub Desktop.
Save Gozala/9490234 to your computer and use it in GitHub Desktop.
Roadmap.

Devtools SDK roadmap

Goals

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.

@Gozala
Copy link
Author

Gozala commented Mar 11, 2014

Notes

Delivery estimates

  • Toolbox Pane Bug 980410 API. P1 - March 31
  • Support for remote tabs Bug 980421 - 28th April
  • Support for MessagePorts - Putting off it for now
  • Code injection into InspectionTarget / Debuggee Bug 980481 - 28th April
  • Syntax Highlighters Bug 980523 - Putting off table for now
  • Linter support - Putting off table for now
  • Custom input handlers / compilers Bug 980553 - Putting off table for now
  • Custom output handlers / printers Bug 980555 - End of May
    Devtools should freeze it's grip API & stop rewriting console
  • Network handlers / debug middleware Bug 980570 - P3 End of June

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment