gecko-dev/remote
Henrik Skupin 513521f536 Bug 1585272 - [remote] Register ChannelEventSinkFactory only once, and allow for multiple client connections. r=remote-protocol-reviewers,maja_zf
To allow for multiple client connections the ChannelEventSinkFactory
class only has to be registered once. By reference counting consumers
of this factory it can be made sure to only unregister it once no
consumers of the factory exist anymore.

With this refactoring we basically allow multiple client connections
to our CDP implementation.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 20:23:05 +00:00
..
doc bug 1580470: remote: document security aspects of remote agent; r=remote-protocol-reviewers,maja_zf 2019-09-12 11:39:13 +00:00
domains 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
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 1568581. Stop mixing XULWindow and Window instances in TabObserver.jsm. r=ochameau 2019-07-24 16:43:26 +00:00
test Bug 1563746 - [remote] Implement Page.captureScreenshot. r=remote-protocol-reviewers,maja_zf,ato 2019-10-16 19:36:56 +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
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
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
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
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 bug 1533831: remote: include remote agent in default build; r=firefox-build-system-reviewers,chmanchester 2019-04-24 17:18:22 +00:00
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

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