gecko-dev/remote
Henrik Skupin e4aa62dc2c Bug 1589625 - [remote] Improve setup and teardown logic for browser chrome tests. r=remote-protocol-reviewers,ato
Currently when browser chrome tests are failing the open tabs, client,
and Remote Agent will never be closed, and as such each failing test
causes massive memory leaks.

Therefore the teardown logic needs to be moved out of the tests into
the "add_task()" function. Only that way we can make sure to run
all the clean-up steps independent of the test success state.

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

--HG--
extra : moz-landing-system : lando
2019-10-23 15:50:04 +00:00
..
doc Bug 1589625 - [remote] Add documentation for enabling logging of emitted events. r=remote-protocol-reviewers,ato,maja_zf 2019-10-23 15:49:19 +00:00
domains Bug 1587742 - Distinguish out-of-band non-CDP methods; r=remote-protocol-reviewers,ato,whimboo 2019-10-22 13:46:58 +00:00
server Bug 1563685 - Rename WebSocketDebuggerTransport class to match its JSM file name. r=remote-protocol-reviewers,jdescottes,ato 2019-07-09 09:36:16 +00:00
sessions Bug 1563690 - Make Target class save a list of Connection rather than Session. r=remote-protocol-reviewers,jdescottes 2019-07-18 16:39:11 +00:00
targets Bug 1589625 - [remote] Improve handling of tabs when closing a chrome window. r=remote-protocol-reviewers,ato 2019-10-23 15:49:38 +00:00
test Bug 1589625 - [remote] Improve setup and teardown logic for browser chrome tests. r=remote-protocol-reviewers,ato 2019-10-23 15:50:04 +00:00
.gitignore bug 1540655: remote: ignore non-vendored Node.js assets; r=remote-protocol-reviewers,jdescottes 2019-08-16 12:58:17 +00:00
Connection.jsm Bug 1563690 - Make Target class save a list of Connection rather than Session. r=remote-protocol-reviewers,jdescottes 2019-07-18 16:39:11 +00:00
Error.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
JSONHandler.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
Log.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
Observer.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
Protocol.jsm bug 1568865: remote: add missing license headers; r=remote-protocol-reviewers,jdescottes 2019-07-25 15:41:12 +00:00
README
RecommendedPreferences.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
RemoteAgent.conf Bug 1536862 - Register RemoteAgent JS XPCOM by using new registration method. r=ato 2019-06-26 20:25:43 +00:00
RemoteAgent.jsm Bug 1563689 - Release DOM event listeners set on top level windows. r=remote-protocol-reviewers,jdescottes 2019-07-18 09:48:18 +00:00
Sync.jsm Bug 1561435 - Format remote/, a=automatic-formatting 2019-07-05 10:56:48 +02:00
jar.mn Bug 1585272 - [remote] Register ChannelEventSinkFactory only once, and allow for multiple client connections. r=remote-protocol-reviewers,maja_zf 2019-10-16 20:23:05 +00:00
mach_commands.py Bug 1585274 - [remote] Run Puppeteer unit tests in non-headless mode by default. r=remote-protocol-reviewers,maja_zf 2019-10-10 15:10:48 +00:00
moz.build Bug 1572622 - Merge remote.js into all.js. r=ato 2019-08-13 23:49:39 +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 disabled by default, but can be enabled by
setting a preference before running it:

	% ./mach run --setpref "remote.enabled=true" --remote-debugger