mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
50ad3cd134
As long as we do not validate incoming messages against the Chrome DevTools JSON schema, all incoming commands would be executed. To prevent clients from changing internal data by calling internal commands (prefixed with "_"), deny their execution. Differential Revision: https://phabricator.services.mozilla.com/D55411 --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 | ||
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. 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