Граф коммитов

150 Коммитов

Автор SHA1 Сообщение Дата
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
Narcis Beleuzu d259fe38d8 Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)

--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Andrea Marchesini 87b1a8a547 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-05 22:07:34 +00:00
Victor Porof 6e4c49c023 Bug 1608676 - Add multithreaded scenarios to RKV function calls fuzzing, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59620

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:59 +00:00
Victor Porof c931810830 Bug 1608624 - Add more variation to RKV function calls fuzzing by interspersing fuzzing data with fuzzing opts, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59619

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:36 +00:00
Victor Porof 620922e8dc Bug 1608624 - Pre: Fix typo resulting in max_dbs always being at least '2', r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59626

--HG--
extra : moz-landing-system : lando
2020-01-18 07:54:12 +00:00
Victor Porof 252026d13e Bug 1608624 - Pre: Remove unnecessary key/value tuple, a single predefined vector is sufficient, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D59618

--HG--
extra : moz-landing-system : lando
2020-01-18 07:53:44 +00:00
Victor Porof e23a8a366d Bug 1601946 - Implement an elaborate RKV API fuzzing test, r=truber
Depends on D56336

Differential Revision: https://phabricator.services.mozilla.com/D56337

--HG--
extra : moz-landing-system : lando
2020-01-10 08:58:14 +00:00
Victor Porof 595b0a6768 Bug 1601946 - Pre 1: Add a fuzzing test for database names, r=truber
Depends on D56335

Differential Revision: https://phabricator.services.mozilla.com/D56336

--HG--
extra : moz-landing-system : lando
2020-01-10 08:57:30 +00:00
Victor Porof de4eb52c3b Bug 1601946 - Pre 0: Avoid silently ignoring errors and returning early, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D56335

--HG--
extra : moz-landing-system : lando
2020-01-10 08:56:57 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

Differential Revision: https://phabricator.services.mozilla.com/D56440

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Doug Thayer 86601b48c5 Bug 1602646 - Remove vestigial references to cooperative scheduling r=froydnj
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.

Rebased across https://hg.mozilla.org/mozilla-central/rev/3f0b4e206853
by Karl Tomlinson <karlt+@karlt.net>.

Differential Revision: https://phabricator.services.mozilla.com/D41247

--HG--
extra : moz-landing-system : lando
2019-12-12 00:56:53 +00:00
Christian Holler 70589853f4 Bug 1601923 - Add initial fuzzing documentation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D56178

--HG--
extra : moz-landing-system : lando
2019-12-06 13:32:09 +00:00