gecko-dev/dom/xhr
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
..
tests Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin 2020-10-13 12:27:26 +00:00
XMLHttpRequest.cpp Bug 1637159 provide XMLHttpRequest owner via DOMEventTargetHelper constructor r=smaug 2020-05-14 05:28:36 +00:00
XMLHttpRequest.h Bug 1639310 - Remove unnecessary implicitJSContext annotations. r=mccr8 2020-05-19 20:48:21 +00:00
XMLHttpRequestEventTarget.cpp
XMLHttpRequestEventTarget.h Bug 1637159 provide XMLHttpRequest owner via DOMEventTargetHelper constructor r=smaug 2020-05-14 05:28:36 +00:00
XMLHttpRequestMainThread.cpp Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin 2020-10-13 12:27:26 +00:00
XMLHttpRequestMainThread.h Bug 1652960 - Remove unnecessary includes from Document.h. r=smaug 2020-07-15 15:48:53 +00:00
XMLHttpRequestString.cpp Bug 1659674 - Change BulkWrite to return mozilla::Result. r=froydnj 2020-08-21 09:54:48 +00:00
XMLHttpRequestString.h Bug 1659674 - Change BulkWrite to return mozilla::Result. r=froydnj 2020-08-21 09:54:48 +00:00
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xhr. r=smaug 2020-02-20 15:59:01 +00:00
XMLHttpRequestWorker.cpp Bug 1665862: Don't use AutoSafeJSContext in XMLHttpRequestWorker. r=nika 2020-09-19 16:39:58 +00:00
XMLHttpRequestWorker.h Bug 1639310 - Remove unnecessary implicitJSContext annotations. r=mccr8 2020-05-19 20:48:21 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00