gecko-dev/remote
Alexandre Poirot 4c3f075b45 Bug 1536794 - Close httpd's Connection when closing the remote agent's server. r=ato
This fixes the browser mochitest which currently timesout when calling server.close()
It started to timeout when the patch related to websocket handshake landed.

Depends on D24219

Differential Revision: https://phabricator.services.mozilla.com/D24220

--HG--
extra : moz-landing-system : lando
2019-03-21 14:17:36 +00:00
..
doc bug 1534247: remote: fix typos in usage docs; r=me a=doc 2019-03-12 14:30:06 +00:00
domains bug 1534827: remote: fix constants in transitionToLoadFlag; r=yulia 2019-03-13 14:35:57 +00:00
pref
server bug 1523104: remote: add WebSocketServer.upgrade for upgrading existing httpd.js requests; r=ochameau 2019-03-08 16:28:04 +00:00
sessions Bug 1533682 - Implement sessions. r=ato 2019-03-11 12:48:05 +00:00
targets Bug 1536794 - Close httpd's Connection when closing the remote agent's server. r=ato 2019-03-21 14:17:36 +00:00
test Bug 1536890 - Remove the workaround in chrome-remote-interface now that remote agent supports websocket handshake. r=ato 2019-03-21 13:28:05 +00:00
.eslintrc.js
Connection.jsm Bug 1536794 - Close httpd's Connection when closing the remote agent's server. r=ato 2019-03-21 14:17:36 +00:00
Error.jsm bug 1523104: remote: associate formatting with error prototype; r=ochameau 2019-03-08 16:27:51 +00:00
JSONHandler.jsm Bug 1533679 - Implement /json/version. r=ato 2019-03-10 12:51:49 +00:00
Log.jsm bug 1523104: remote: add Log.verbose; r=ochameau 2019-03-08 16:27:53 +00:00
Observer.jsm bug 1523104: remote: fix eslint by removing unecessary commas; r=ato 2019-03-08 16:26:36 +00:00
Protocol.jsm bug 1523104: remote: drop protocol schema validation; r=ochameau 2019-03-08 16:27:07 +00:00
README bug 1523104: remote: format; r=me a=docs 2019-03-08 16:28:17 +00:00
RecommendedPreferences.jsm bug 1523104: remote: rename Prefs.jsm to match its exported symbol; r=ato 2019-03-08 16:27:38 +00:00
RemoteAgent.js Bug 1533679 - Move targets modules to a dedicated targets folder. r=ato 2019-03-10 12:50:57 +00:00
RemoteAgent.manifest
Sync.jsm bug 1523104: remote: introduce MessagePromise sync primitive; r=ochameau 2019-03-08 16:27:17 +00:00
WindowManager.jsm Bug 1533682 - Implements more Target/Page methods/events to support puppeteer's browser.newPage. r=ato 2019-03-11 12:50:26 +00:00
jar.mn Bug 1536794 - Implement a base Target class. r=ato 2019-03-21 14:17:21 +00:00
moz.build bug 1534829: remote: map source code to bug components; r=yulia 2019-03-13 14:03:16 +00:00

README

The Firefox remote agent is a low-level debugging interface based
on the CDP protocol.

With it, you can inspect the state and control execution of documents
running in web content, instrument Gecko in interesting ways,
simulate user interaction for automation purposes, and debug
JavaScript execution.

This component provides an experimental and partial implementation
of a remote devtools interface using the CDP protocol and transport
layer.

See https://firefox-source-docs.mozilla.org/remote/ for documentation.

The remote agent is not by default included in Firefox builds.  To
build it, put this in your mozconfig:

	ac_add_options --enable-cdp

This exposes a --remote-debugger flag you can use to start the
remote agent:

	% ./mach run --setpref "browser.fission.simulate=true" -- --remote-debugger