Bug 961798 - Check if this.window is null in BrowserTabActor.prototype._setJavascriptEnabled. r=past
create a /browser/devtools/components/ directory.

No change in the JS code (copy).
DevToolsAppStartup component

Handles the -start-debugger-server command line option and will sync the
debugger server status with the remote-enabled pref.
Introducing nsIDebuggerServerController
add support for debuggercontroller to debugger server
Firefox Desktop Debugger controller
B2G Debugger controller
Fennec Debugger controller
repurpose the meaning of the remote-enabled pref
introduce DebuggerServer.isSocketConnected()