mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
986fa21674
Errors that arise from use of the protocol, for example by the client passing in the wrong argument or an operationg being unsupported, are returned to the client. Since these are not inherent implementation problems there is no point to double-logging them in the server. This is a left-over from when the remote agent was in a prototype stage and we couldn't always rely on the Puppeteer client to interact with Firefox correctly. Differential Revision: https://phabricator.services.mozilla.com/D58508 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
doc | ||
domains | ||
server | ||
sessions | ||
startup | ||
targets | ||
test | ||
.gitignore | ||
Cargo.toml | ||
components.conf | ||
Connection.jsm | ||
Error.jsm | ||
error.rs | ||
jar.mn | ||
JSONHandler.jsm | ||
lib.rs | ||
Log.jsm | ||
mach_commands.py | ||
moz.build | ||
nsIRemoteAgent.idl | ||
Protocol.jsm | ||
README | ||
RecommendedPreferences.jsm | ||
remote_agent.rs | ||
RemoteAgent.jsm | ||
StreamRegistry.jsm | ||
Sync.jsm | ||
TabManager.jsm | ||
WindowManager.jsm |
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. It is available in Firefox Nightly and is started this way: % ./mach run --remote-debugger