зеркало из https://github.com/mozilla/gecko-dev.git
7a15c311ac
The architecture of `mach` does not make this easy to do from within one process, not least of all due to persistent global, mutable state. :( There may be another way to do this, I'm not saying it's completely impossible (and obviously with a significant enough refactor there's a way to make this happen), but subprocessing is a foolproof way to accomplish the same. Differential Revision: https://phabricator.services.mozilla.com/D77374 |
||
---|---|---|
.. | ||
doc | ||
domains | ||
observers | ||
server | ||
sessions | ||
startup | ||
targets | ||
test | ||
.gitignore | ||
Cargo.toml | ||
Connection.jsm | ||
Error.jsm | ||
Format.jsm | ||
JSONHandler.jsm | ||
Log.jsm | ||
Protocol.jsm | ||
README | ||
RecommendedPreferences.jsm | ||
RemoteAgent.jsm | ||
StreamRegistry.jsm | ||
Sync.jsm | ||
TabManager.jsm | ||
WindowManager.jsm | ||
components.conf | ||
error.rs | ||
jar.mn | ||
lib.rs | ||
mach_commands.py | ||
moz.build | ||
nsIRemoteAgent.idl | ||
puppeteer-expected.json | ||
remote_agent.rs |
README
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