gecko-dev/remote
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
..
doc Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
domains Bug 1661390 - [remote] Use a UUID as session id for targets. r=remote-protocol-reviewers,jgraham 2020-09-07 15:31:27 +00:00
observers Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo 2020-08-17 20:20:50 +00:00
server
sessions
startup Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
targets
test Bug 1671725 - [puppeteer] Add missing await. r=remote-protocol-reviewers,whimboo 2020-10-22 14:11:19 +00:00
.gitignore
Cargo.toml
components.conf
Connection.jsm
Error.jsm
error.rs Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
Format.jsm
jar.mn
JSONHandler.jsm
lib.rs
Log.jsm
mach_commands.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
nsIRemoteAgent.idl
Protocol.jsm
puppeteer-expected.json Bug 1671725 - [puppeteer] Increase mocha timeout to 20 seconds. r=remote-protocol-reviewers,jgraham,whimboo 2020-10-22 14:11:16 +00:00
README Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
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-debugging-port