Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen d79e42a0ef bug 1543115: remote: bootstrap from Rust; r=remote-protocol-reviewers,maja_zf
This bootstraps the remote agent from Rust so that we have access
to write to stderr using the eprintln!() macro.  There is a future
intention to expand Rust usage in the remote agent by delegating
CDP and WebDriver Bi-Di protocol schema validation to serde.

The Rust port is faithful to the JS version in terms of functionality,
and in some places improves on the original design by enforcing
a strict division between flag handling code on one hand, and the
remote agent server on the other.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 12:33:06 +00:00
Andreas Tolfsen 24f7b88ad4 bug 1543115: remote: introduce nsIRemoteAgent XPIDL interface; r=remote-protocol-reviewers,maja_zf
Adds an XPIDL interface for the remote agent which we will later use to
initialise and start it from a new command-line handler written in Rust.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 12:32:48 +00:00
Andreas Tolfsen 5b844c0aa5 bug 1543115: remote: rename XPCOM manifest for conformity; r=remote-protocol-reviewers,maja_zf
All other XPCOM component manifests are named components.conf and
this makes the remote agent's conform with those.

It will also become apparent in a later patch in this changeset
that we need to register two XPCOM components: one implementing
the remote agent service, and one for handling command-line arguments.

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

--HG--
rename : remote/RemoteAgent.conf => remote/components.conf
extra : moz-landing-system : lando
2019-11-19 12:32:29 +00:00
Nicholas Nethercote dd9bd0a9f7 Bug 1572622 - Merge remote.js into all.js. r=ato
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Alexandre Poirot cf99fa36d0 Bug 1536862 - Register RemoteAgent JS XPCOM by using new registration method. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D24228

--HG--
extra : moz-landing-system : lando
2019-06-26 20:25:43 +00:00
Andreas Tolfsen 8ccafe6392 bug 1546714: remote: fix bug component mapping for remote/targets/; r=ochameau
There are two concepts of targets in CDP: the target web document,
and the Target domain.  The remote/targets/ subfolder is related
to the first, which should have bugs filed under Remote Protocol ::
Agent, covered by the preceding rule.

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:49:57 +00:00
Andreas Tolfsen d3121dd02c bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau
Patch unfortunately has to add a few domain stubs so that mach does
not complain about not finding any files associated with these new
bug components.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 14:27:15 +00:00
Bogdan Tara 7b9699da3b Backed out 2 changesets (bug 1546714) for test_mozbuild_reading.py bustages CLOSED TREE
Backed out changeset 02a67f69acd2 (bug 1546714)
Backed out changeset c29a7a2c36d6 (bug 1546714)
2019-04-25 14:15:22 +03:00
Andreas Tolfsen b5e28c3210 bug 1546714: remote: fix bug component mapping for remote/targets/; r=ochameau
There are two concepts of targets in CDP: the target web document,
and the Target domain.  The remote/targets/ subfolder is related
to the first, which should have bugs filed under Remote Protocol ::
Agent, covered by the preceding rule.

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-04-25 10:33:01 +00:00
Andreas Tolfsen e40c27877d bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-04-24 17:35:38 +00:00
Csoregi Natalia 1e8b9b451b Backed out changeset bfaec0e9d5d8 (bug 1542198) as per request. a=backout 2019-04-15 18:14:54 +03:00
Andreas Tolfsen 9c97965f1c bug 1542198: remote: build tests only on --enable-tests; r=ochameau
As we don't actually build anything inside remote/test, this
shouldn't make any functional difference at all.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 14:45:58 +00:00
Alexandre Poirot 26d0c79caa Bug 1536888 - Move the remote agent to a JSM. r=ato
This will later help register the component statically in bug 1536862.
And already ease using the remote agent from other JSM files.

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

--HG--
rename : remote/RemoteAgent.js => remote/RemoteAgent.jsm
extra : moz-landing-system : lando
2019-03-22 09:46:50 +00:00
Andreas Tolfsen d5fb86f134 bug 1534829: remote: map source code to bug components; r=yulia
DevTools :: Remote Agent was removed in favour of a new product,
Remote Protocol.  This corrects the file metadata mapping for the
agent.

The patch also adds mapping for new domains.  Not all of the
components exist yet, but this is tracked separately in
https://bugzilla.mozilla.org/show_bug.cgi?id=1534970.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 14:03:16 +00:00
Alexandre Poirot c8bc5eb7c0 bug 1523104: remote: remove unused nsIRemoteAgent interface; r=ato 2019-03-08 16:26:37 +00:00
Alexandre Poirot abbacc3349 bug 1523104: remote: execute the domains in the content process by piping all WebSocket request, response and events via message manager API; r=ato 2019-03-08 16:26:34 +00:00
Andreas Tolfsen 83f187426e bug 1523104: remote: fix incorrect directory name for documentation; r=ochameau 2019-03-08 16:26:23 +00:00
Andreas Tolfsen 67ac644cdb bug 1523104: remote: identify firefox-source-docs.m.o location absolutely; r=ochameau 2019-03-08 16:26:23 +00:00
Andreas Tolfsen 06faaf9146 bug 1523104: remote: initial cdp prototype; r=ochameau 2019-03-08 16:26:22 +00:00