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
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
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-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
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. 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-21 21:27:27 +00:00
Christian Holler
d939231580
Bug 1659393 - Add missing headers to FuzzingInterfaceStream.cpp for AFL. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D87227
2020-08-18 13:27:18 +00:00
Christian Holler
0215dcbfc4
Bug 1659392 - Only enable rust fuzzing code with libFuzzer. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D87228
2020-08-18 13:32:15 +00:00
Michael Froman
5b942915e9
Bug 1664898 - move media/mtransport to media/transport. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D90309
2020-09-22 21:43:49 +00:00
Sylvestre Ledru
5ea6c250c3
Bug 1657926 - firefox doc: fix some warnings r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D86732
2020-08-11 23:20:25 +00:00
Simon Giesecke
1e02318b49
Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Christian Holler
c63127c59a
Bug 1656463 - Upgrade in-tree libFuzzer to latest version. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D85576
2020-07-31 15:06:26 +00:00
Tyson Smith
423110c056
Bug 1655548 - Update fuzzing interface documentation. r=decoder
...
Differential Revision: https://phabricator.services.mozilla.com/D85041
2020-07-28 17:08:52 +00:00
Nika Layzell
22a65a237e
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Mihai Alexandru Michis
1ba2a3f6f6
Backed out 3 changesets (bug 1650163) for causing bustages in nsContentSecurityManager.cpp
...
CLOSED TREE
Backed out changeset 51d7c644a1e6 (bug 1650163)
Backed out changeset 3d2b6908447a (bug 1650163)
Backed out changeset 79141707d47b (bug 1650163)
2020-07-08 21:18:44 +03:00
Nika Layzell
c850a94434
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 14:54:48 +00:00
Narcis Beleuzu
8359f16846
Backed out 7 changesets (bug 1650163, bug 1649477) for bustages on JSActor.cpp . CLOSED TREE
...
Backed out changeset 4a21afb65254 (bug 1650163)
Backed out changeset c41753a56f5a (bug 1650163)
Backed out changeset 5fb444c35764 (bug 1650163)
Backed out changeset 830aa93d2b0c (bug 1649477)
Backed out changeset eca6e9dce450 (bug 1649477)
Backed out changeset 5b217aa88289 (bug 1649477)
Backed out changeset 8959d02b840f (bug 1649477)
2020-07-08 04:09:27 +03:00
Nika Layzell
df351180c3
Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-06 20:30:58 +00:00
Jean-Yves Avenard
b2cf09ec3e
Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika
...
We no longer rely of having a message loop for the worker thread.
Differential Revision: https://phabricator.services.mozilla.com/D80655
2020-07-02 00:26:41 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Narcis Beleuzu
3700aab557
Backed out 7 changesets (bug 1634846, bug 1647628, bug 1649294, bug 1647112) for webgl-conf crashes. CLOSED TREE
...
Backed out changeset 4441d06e96c3 (bug 1647628)
Backed out changeset 4efaf32bc8f7 (bug 1647112)
Backed out changeset 2d24ad813039 (bug 1647112)
Backed out changeset fda262d73a13 (bug 1649294)
Backed out changeset 5863f9c5229f (bug 1634846)
Backed out changeset bca79526745d (bug 1634846)
Backed out changeset d539408a0048 (bug 1634846)
2020-06-30 09:50:00 +03:00
Jean-Yves Avenard
35101e741b
Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika
...
We no longer rely of having a message loop for the worker thread.
Differential Revision: https://phabricator.services.mozilla.com/D80655
2020-06-26 09:34:47 +00:00
Kris Maglione
59b6d97296
Bug 1648270: Follow-up: Fix botched rebase.
...
Differential Revision: https://phabricator.services.mozilla.com/D81360
2020-06-26 16:41:39 +00:00
Kris Maglione
c04b0a1b46
Bug 1648270: Get rid of unused ContentParent 'opener' field. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D80971
2020-06-26 16:26:50 +00:00
Andrew McCreight
8eefcc3e76
Bug 1642631 - Make the message argument to Channel::Send() a UniquePtr. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D77876
2020-06-02 21:23:08 +00:00
Christian Holler
4b5d643db0
Bug 1641169
- Update fuzzing interface documentation. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D77007
2020-06-02 12:52:19 +00:00
Andrew McCreight
7482de916e
Bug 1641090, part 5 - Make IDMap::Remove match nsTHashtable's behavior. r=nika
...
nsTHashtable::Remove doesn't assert if the item isn't present. Match that
behavior by removing the assert and putting it at all of the call sites.
This just turns IDMap::Remove into RemoveIfPresent, so merge them.
Differential Revision: https://phabricator.services.mozilla.com/D77166
2020-05-28 15:55:01 +00:00
Andrew McCreight
1fc2cdf98d
Bug 1641090, part 4 - Make AddWithID compatible into Put. r=nika
...
This function is similar to the Put() method in nsTHashtable, but it lists the
key second and it asserts that the key is not already in the map. This patch
swaps the arguments and hoists the assertion out, where appropriate. Note that
there are a few places that were working around this assert, so for those places
don't include the assert.
Differential Revision: https://phabricator.services.mozilla.com/D77165
2020-05-28 15:54:59 +00:00
Christian Holler
53f361c007
Bug 1635762 - Switch libFuzzer upstream to git and add local patches. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D74040
2020-05-11 12:45:07 +00:00
Mihai Alexandru Michis
2df205e3f0
Backed out changeset 14b092e7a974 (bug 1635762) for causing failures in browser_Telemetry_timestamp_test.js
...
CLOSED TREE
2020-05-11 17:00:53 +03:00
Christian Holler
b8917ab3a4
Bug 1635762 - Switch libFuzzer upstream to git and add local patches. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D74040
2020-05-11 12:45:07 +00:00
Christian Holler
870ae59237
Bug 1632830 - Properly shutdown ScopedXPCOM instance with libFuzzer. r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D72386
2020-04-27 01:35:01 +00:00
Jesse Schwartzentruber
f4128636d8
Bug 1608849 - Switch Linux Fuzzing Debug build to use clang. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D59782
2020-04-07 15:53:03 +00:00
Eric Rahm
243dfaa07e
Bug 1626453 - Remove nsAutoPtr usage from tools/fuzzing. r=decoder
...
Differential Revision: https://phabricator.services.mozilla.com/D69124
--HG--
extra : moz-landing-system : lando
2020-04-03 21:05:32 +00:00
André Bargull
14ca007916
Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj
...
Also adds missing includes in some files, these were previously only transivitely
included through mozilla/TypeTraits.h.
Differential Revision: https://phabricator.services.mozilla.com/D68561
--HG--
extra : moz-landing-system : lando
2020-03-28 16:00:09 +00:00
André Bargull
ebec34a898
Bug 1625138 - Part 16: Replace mozilla::IsIntegral with std::is_integral. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68371
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
André Bargull
1f5d157732
Bug 1625138 - Part 15: Replace mozilla::IsFloatingPoint with std::is_floating_point. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68370
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:15 +00:00
André Bargull
aae2042c40
Bug 1625138 - Part 9: Replace mozilla::IsArithmetic with std::is_arithmetic. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D68363
--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:13 +00:00
Emilio Cobos Álvarez
980c6f3033
Bug 1621044 - Update rkv. r=vporof
...
See last patch of this bug for the third_party/ changes.
Differential Revision: https://phabricator.services.mozilla.com/D66279
--HG--
extra : moz-landing-system : lando
2020-03-10 21:04:51 +00:00
Sylvestre Ledru
1e23630d34
no bug - Document fuzz blockers r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64615
--HG--
extra : moz-landing-system : lando
2020-02-28 10:52:15 +00:00
Sylvestre Ledru
6f034f2f1c
Bug 1617836 - Create a new category for sanitizer in the doc r=decoder
...
Move the *san files from fuzzing to sanitizer
Depends on D64072
Differential Revision: https://phabricator.services.mozilla.com/D64407
--HG--
rename : tools/fuzzing/docs/asan.rst => tools/sanitizer/docs/asan.rst
rename : tools/fuzzing/docs/asan_nightly.rst => tools/sanitizer/docs/asan_nightly.rst
extra : moz-landing-system : lando
2020-02-27 15:34:12 +00:00
Sylvestre Ledru
6c4c61fc34
Bug 1617836 - Polish of the fuzzing interface doc (fix links, bad char, etc) r=decoder
...
Depends on D64071
Differential Revision: https://phabricator.services.mozilla.com/D64072
--HG--
extra : moz-landing-system : lando
2020-02-27 12:59:28 +00:00
Sylvestre Ledru
61eb893006
Bug 1617836 - Import the Fuzzing Interface doc from mdn r=decoder
...
Depends on D64070
Differential Revision: https://phabricator.services.mozilla.com/D64071
--HG--
extra : moz-landing-system : lando
2020-02-27 11:41:00 +00:00
Sylvestre Ledru
b4c99237f6
Bug 1617836 - Reference the asan docs in the menu r=decoder
...
Depends on D64069
Differential Revision: https://phabricator.services.mozilla.com/D64070
--HG--
extra : moz-landing-system : lando
2020-02-27 11:43:43 +00:00
Sylvestre Ledru
880cf816cb
Bug 1617836 - Polish of the asan nightly doc (fix links, bad char, etc) r=decoder
...
Depends on D64068
Differential Revision: https://phabricator.services.mozilla.com/D64069
--HG--
extra : moz-landing-system : lando
2020-02-27 11:42:42 +00:00
Sylvestre Ledru
52d0543647
Bug 1617836 - Import the asan nightly doc in-tree without any change r=decoder
...
Depends on D64032
Differential Revision: https://phabricator.services.mozilla.com/D64068
--HG--
extra : moz-landing-system : lando
2020-02-27 11:42:14 +00:00
Sylvestre Ledru
0f0ce6d1f5
Bug 1617836 - Polish of the asan doc (fix links, bad char, etc) r=decoder
...
Depends on D64031
Differential Revision: https://phabricator.services.mozilla.com/D64032
--HG--
extra : moz-landing-system : lando
2020-02-27 11:36:28 +00:00
Sylvestre Ledru
990effdd96
Bug 1617836 - Import the asan doc in-tree without any change r=decoder
...
Created with:
$ pandoc -t rst https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Testing/Firefox_and_Address_Sanitizer\?raw\=1 > asan.rst
Differential Revision: https://phabricator.services.mozilla.com/D64031
--HG--
extra : moz-landing-system : lando
2020-02-27 11:34:44 +00:00
Sylvestre Ledru
a32d77d924
Bug 1617186 - Reformat the fuzzing rust files r=truber
...
done with:
$ ./mach lint -l rustfmt --fix tools/fuzzing/rust/src/lib.rs
Differential Revision: https://phabricator.services.mozilla.com/D63664
--HG--
extra : moz-landing-system : lando
2020-02-21 17:01:29 +00:00
Andrea Marchesini
b13b3b72d2
Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D61182
--HG--
extra : moz-landing-system : lando
2020-02-06 13:46:25 +00:00
Sylvestre Ledru
f8fbaf286d
No bug - fuzzing: update of the doc to point to matrix instead of slack r=decoder
...
Differential Revision: https://phabricator.services.mozilla.com/D61790
--HG--
extra : moz-landing-system : lando
2020-02-06 10:23:35 +00:00