joewalker/devtools-window — pull request #191 by paulrouget (2012-11-12 19:03:58+00:00)
Title: Initial work on implementing the remote connection interface (don't review, don't merge)

The workflow is:
* load `chrome://browser/content/devtools/connection-screen/connection.xhtml` in a tab (manual operation for the moment. This will be triggered by a button in the toolbox or a menuitem).
* type IP + port
* click on `connect`
* wait until you see the list of available remote objects (actors)
* click on the actor you want to debug
* it opens a toolbox in a window, with all the tools that support remote debugging

The current code doesn't do any remote operations (full of `FIXME`s), but I think this can help to start the work.

Todo:
1) implement the `getActors()` method
2) wrap the actor into a `RemoteTarget` object (future work on the Target API will ensure that only one target is built per actor)
3) fix the debugger and the webconsole. If `target.isRemote`, they should not use `target.tab` but `target.actor`.