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
Gabriele Svelto
5dc21d568c
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55444
--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
Andrew McCreight
a102cb7648
Bug 1599521 - Add helper method for getting a string for the current process type. r=froydnj
...
I also removed the unused forward declaration of GMPLoader. It used to
be needed for the declaration of XRE_InitChildProcess.
Differential Revision: https://phabricator.services.mozilla.com/D54819
--HG--
extra : moz-landing-system : lando
2019-12-02 22:01:47 +00:00
Andrew McCreight
d25c3b20ae
Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
...
This function works on all GeckoProcessTypes, not just those for child
processes.
Differential Revision: https://phabricator.services.mozilla.com/D54375
--HG--
extra : moz-landing-system : lando
2019-11-25 22:45:31 +00:00
Victor Porof
48062bb200
Bug 1584446 - Add an rkv fuzzing test for bug mdb_cursor_put, r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D47396
--HG--
extra : moz-landing-system : lando
2019-10-02 15:17:13 +00:00
Victor Porof
71a08e56c3
Bug 1583440 - Enable fuzzer-no-link on the rkv crate when fuzzing, r=truber
...
Differential Revision: https://phabricator.services.mozilla.com/D46901
--HG--
extra : moz-landing-system : lando
2019-09-26 16:24:50 +00:00
Victor Porof
b0783dc7ee
Bug 1583439 - Update lmdb-rkv-sys, lmdb-rkv and rkv crates to their latest versions, r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D46899
--HG--
extra : moz-landing-system : lando
2019-09-26 11:52:13 +00:00
Mihai Alexandru Michis
4e1448e7e6
Backed out 2 changesets (bug 1510226) for causing xpcshell crashes and xpcshell failures in test_TelemetrySession.js CLOSED TREE
...
Backed out changeset cb739de6606d (bug 1510226)
Backed out changeset b6f670610dc3 (bug 1510226)
2019-09-25 04:25:07 +03:00
Doug Thayer
65be2b22c1
Bug 1510226 - 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.
Differential Revision: https://phabricator.services.mozilla.com/D41247
--HG--
extra : moz-landing-system : lando
2019-08-20 18:03:11 +00:00
Jesse Schwartzentruber
146562d993
Bug 1581158 - Add fuzzing target for rkv r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D45891
--HG--
rename : tools/fuzzing/moz.build => tools/fuzzing/rust/moz.build
extra : moz-landing-system : lando
2019-09-20 21:27:35 +00:00
Christian Holler
6223028546
Bug 1580128 - Simplify required env variables for fuzzing interface. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D45318
--HG--
extra : moz-landing-system : lando
2019-09-10 14:33:58 +00:00
Christian Holler
75691588ac
Bug 1561346 - Allow FUZZING_INTERFACE_STREAM to be used multiple times. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D35824
--HG--
extra : moz-landing-system : lando
2019-06-25 22:02:52 +00:00
Nika Layzell
03a2f40528
Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj
...
The vast majority of the virtual methods which were used on ProtocolState were
actually methods which only had meaningful implementations on the toplevel
protocol. This patch adds a new field to IProtocol holding a direct pointer to
the protocol's `IToplevelProtocol`, and the methods formerly implemented with
ProtocolState now directly call the corresponding method on IToplevelProtocol.
IToplevelProtocol then shadows these methods with the toplevel protocol
implementation, meaning that the right code is run in the right places.
In addition, some state was maintained for protocols inside of the separate
ProtocolState allocation, and this patch moves that state back into the actor
itself.
Differential Revision: https://phabricator.services.mozilla.com/D32044
--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:34 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Christian Holler
a15a27b2f0
Bug 1544400 - Update fuzzing builds to Clang 8 and use gold. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D27701
--HG--
extra : moz-landing-system : lando
2019-04-18 08:28:29 +00:00
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Emilio Cobos Álvarez
0204cde0f2
Bug 1535671 - Remove some static initializers that call into PR_GetEnv during initialization unnecessarily. r=truber,posidron
...
I though this was going to be enough to unbreak rr, but it seems not to be the
case, see https://github.com/mozilla/rr/issues/2329 .
In any case avoiding static initializers that initialize PR seems desirable.
Differential Revision: https://phabricator.services.mozilla.com/D23706
--HG--
extra : moz-landing-system : lando
2019-03-21 20:34:06 +00:00
Chris Peterson
3f655a7340
Bug 1534878 - xpcom: Rename NS_InitXPCOM2() to NS_InitXPCOM(). r=froydnj
...
--HG--
extra : rebase_source : 6e7a46cf49f78e46e12d1e7fc76aba6f0c377be0
2019-03-14 23:38:09 -07:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Christian Holler
26f9ae751e
Bug 1530773
- Add log module and macro for fuzzing. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D21251
--HG--
extra : moz-landing-system : lando
2019-03-04 14:13:28 +00:00
Gurzau Raul
9adf5b0182
Backed out changeset 2a034c02b842 (bug 1530773
) for bustage at interface/FuzzingInterface.h
2019-02-27 06:01:39 +02:00
Christian Holler
c15caba3f0
Bug 1530773
- Add log module and macro for fuzzing. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D21251
--HG--
extra : moz-landing-system : lando
2019-02-26 21:10:02 +00:00