gecko-dev/testing
Toshihito Kikuchi e61c0c2555 Bug 1671314 - Expand the region to be scanned for a trampoline. r=mhowell
The latest launcher process ping showed one of the reasons why we failed to
detour `NtMapViewOfSection` is that `MMPolicyBase::FindRegion` failed to find
a free region.  Inspecting the function carefully, there were three problems.

Firstly, `FindRegion` did not fully scan the given range.  To randomize
the address of a free region we use, we start scanning from a random address
within the given range.  The problem is we scan only addresses bigger than
that random address, without scanning smaller addresses.  Probably this is
the reason why `FindRegion` fails.

Secondly, `FindRegion` may return an address not aligned with the allocation
granularity because `VirtualQueryEx` returns such an address.  If that happens,
the subsequent mapping API fails with the alignment error.

Lastly, when we randomize an address to start scanning from, we divide a random
number by `maxOffset`, but with that, we never start scanning from the last
region.  It does not affect the product's behavior, but to have fair randomization,
a divisor should be `maxOffset + 1`.

This patch fixes all of these three problems along with a new test program.

Differential Revision: https://phabricator.services.mozilla.com/D94110
2020-10-20 22:51:00 +00:00
..
awsy Bug 1670874 - [mozproxy]Setup mozproxy to use 1 entry point for recordings (zip, manifest, url) r=perftest-reviewers,tarek,sparky 2020-10-20 14:29:09 +00:00
condprofile Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
config
crashtest
docs/testing-policy Bug 1664507 - Add documentation for testing policy r=Gijs DONTBUILD 2020-09-11 19:19:29 +00:00
extensions
firefox-ui
geckodriver Bug 1669445 - Fix geckodriver documentation to pass in correct content type headers, r=whimboo,webdriver-reviewers 2020-10-16 12:39:25 +00:00
gtest Bug 1669652 - Fix llvm-symbolizer path encoding. r=gbrown 2020-10-07 13:49:41 +00:00
jsshell
marionette Bug 1671372 - [marionette] "WebDriver:ReleaseActions" has to check the current and not top-level browsing context. r=marionette-reviewers,jdescottes 2020-10-19 13:02:56 +00:00
mochitest Bug 1671612 - Fix `runtest.py` for python3. r=pehrsons 2020-10-20 13:04:31 +00:00
modules Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers 2020-09-25 02:01:15 +00:00
mozbase Bug 1670874 - [mozproxy]Check if recordings are available before generating confidance metrics r=tarek 2020-10-20 15:28:04 +00:00
mozharness Bug 1650118: Part 6 - Update test harnesses; r=bc,sparky,perftest-reviewers 2020-10-19 18:17:16 +00:00
perfdocs Bug 1663708 - [perfdocs] Find tests to add to documentation using manifests instead of path searching r=sparky,perftest-reviewers 2020-10-19 15:17:04 +00:00
performance Bug 1659072 - Add commit timestamps to Fenix batch-mode tests. r=tarek 2020-09-17 12:28:30 +00:00
profiles Bug 1659150 - Remove about:welcome trailhead, full page and ReturnToAMO templates r=perftest-reviewers,Mardak,mkaply,nanj,sparky 2020-09-11 16:35:04 +00:00
raptor Bug 1670874 - [mozproxy]Setup mozproxy to use 1 entry point for recordings (zip, manifest, url) r=perftest-reviewers,tarek,sparky 2020-10-20 14:29:09 +00:00
runtimes Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng 2020-10-02 16:30:58 +00:00
specialpowers Bug 1396399: Test for content scripts and activeTab permission. 2020-09-22 17:41:36 +00:00
talos Bug 1593728 Part 3: [devtools] Expand console DAMP test to log from cross-origin domains. r=perftest-reviewers,nchevobbe,sparky 2020-10-15 01:03:23 +00:00
tools Bug 1669251 - py3 compatibility changes for iceserver and websocketprocessbridge; r=ahal 2020-10-06 21:31:47 +00:00
tps Backed out changeset 8f481c06bcd7 (bug 1670039) for Android build bustages. CLOSED TREE 2020-10-10 02:39:01 +03:00
web-platform Bug 1672163 - Microsoft/history/history_000.htm should not rely on a 50ms timer, r=annyG 2020-10-20 18:17:11 +00:00
webdriver Bug 1656014 - Remove PartialEq bound on WebDriverExtensionCommand, r=webdriver-reviewers,whimboo 2020-08-21 13:39:29 +00:00
xpcshell Bug 1668645 - [xpcshell] Don't fail CI when no specified test paths contain tests, r=jmaher 2020-10-16 16:37:45 +00:00
README.txt
addtest.py
cppunittest.ini Bug 1671314 - Expand the region to be scanned for a trampoline. r=mhowell 2020-10-20 22:51:00 +00:00
mach_commands.py Bug 1624667 - Allow running `mach jit-test` if tests are disabled r=mhentges,froydnj 2020-08-26 14:45:52 +00:00
moz.build Bug 1664507 - Add documentation for testing policy r=Gijs DONTBUILD 2020-09-11 19:19:29 +00:00
parse_build_tests_ccov.py
remotecppunittests.py
runcppunittests.py Bug 1669652 - Fix llvm-symbolizer path encoding. r=gbrown 2020-10-07 13:49:41 +00:00
testinfo.py
testsuite-targets.mk Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff