gecko-dev/remote/components.conf
Andreas Tolfsen 36f394af15 bug 1543115: remote, toolkit: 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-22 08:03:21 +00:00

20 lines
758 B
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Classes = [
{
"cid": "{8f685a9d-8181-46d6-a71d-869289099c6d}",
"contract_ids": ["@mozilla.org/remote/agent;1"],
"jsm": "chrome://remote/content/RemoteAgent.jsm",
"constructor": "RemoteAgentFactory",
},
{
"cid": "{0d1bb02e-ac91-4904-b61d-97da83ebf6fb}",
"contract_ids": ["@mozilla.org/commandlinehandler/general-startup;1?type=remote"],
"categories": {"command-line-handler": "m-remote"},
"headers": ["RemoteAgentHandler.h"],
"constructor": "GetRemoteAgentHandler",
},
]