зеркало из https://github.com/mozilla/gecko-dev.git
d26882a9f4
A session is bound to a browsing context, not just one document. `unload` is fired when navigating to another document. The document goes away, but not the browsing context. So, we should keep the session up and running when the current document is destroyed and we navigate to another URL. Depends on D25577 Differential Revision: https://phabricator.services.mozilla.com/D25578 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
doc | ||
domains | ||
pref | ||
server | ||
sessions | ||
targets | ||
test | ||
.eslintrc.js | ||
Connection.jsm | ||
Error.jsm | ||
JSONHandler.jsm | ||
Log.jsm | ||
Observer.jsm | ||
Protocol.jsm | ||
README | ||
RecommendedPreferences.jsm | ||
RemoteAgent.jsm | ||
RemoteAgent.manifest | ||
Sync.jsm | ||
WindowManager.jsm | ||
command-line-handler.js | ||
jar.mn | ||
moz.build |
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. The remote agent is not by default included in Firefox builds. To build it, put this in your mozconfig: ac_add_options --enable-cdp This exposes a --remote-debugger flag you can use to start the remote agent: % ./mach run --setpref "browser.fission.simulate=true" -- --remote-debugger