gecko-dev/testing
Toshihito Kikuchi ee1f6d7a78 Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz
We have the `LauncherRegistryInfo` class to check the launcher process was
launched successfully on Windows by comparing the timestamps in the registry
when each process was launched.

The problem was when the process is launched from an elevated process, we
relaunch a new launcher process via shell after we updated the launcher's
timestamp.  As a result, `LauncherRegistryInfo` unexpectedly disabled the
launcher process even though there was nothing wrong.

A proposed fix is to introduce delay-write to the `LauncherRegistryInfo`.  With
this, `LauncherRegistryInfo::Check` modifies only the image timestamp. To update
the launcher/browser timestamps, we need to call `LauncherRegistryInfo::Commit`.
When we ask shell to relaunch a new process, we hold back commit, delegating it
to the new process.

There is another consideration needed.  If something fails during `LauncherMain`,
we call `DisableDueToFailure()` to disable the launcher until the image timestamp
is changed.  In such a case, we should not change the stored timestamps even
though commit is attempted.  The problem is we use a different instance to call
`DisableDueToFailure()` in `HandleLauncherError`.  To deal with this design,
`LauncherRegistryInfo` has a static boolean to indicate disablement happens or not.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 17:14:54 +00:00
..
awsy bug 1354458 - Replacing self.wait_for_condition() with Wait().until() function r=whimboo 2019-10-02 14:04:33 +00:00
condprofile Bug 1583615 - use internal PyPI - r=rwood 2019-10-04 17:44:08 +00:00
config Bug 1503785: use new minidump_stackwalk r=bc 2019-10-08 21:59:03 +00:00
crashtest Bug 1510785 - Skip all XBL related tests when XBL is disabled. r=bzbarsky 2019-10-08 23:52:46 +00:00
extensions
firefox-ui Bug 1587800 - Remove the hidden-focus class. r=mak 2019-10-11 13:35:52 +00:00
geckodriver Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre 2019-10-10 18:51:45 +00:00
gtest Bug 1558885 - Use separate directory for android gtest libxul; r=bc,nalexander 2019-10-10 21:38:01 +00:00
jsshell
marionette Bug 1588472 - Remove unused entries from DISABLED_ATTRIBUTE_SUPPORTED_XUL. r=webdriver-reviewers,bgrins,ato 2019-10-14 16:08:05 +00:00
mochitest Backed out changeset 8fb923925923 (bug 1194860) for causing perma mda3 failures in dom/media/webaudio/test/test_convolverNodeChannelInterpretationChanges.html CLOSED TREE 2019-10-14 19:27:08 +03:00
modules Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
mozbase Bug 1580141 - fix linting opt CLOSED TREE 2019-10-14 16:40:13 +03:00
mozharness Bug 1587207 - Add logging to investigate intermittent hang in android-hw tests; r=bc 2019-10-11 13:43:06 +00:00
profiles Bug 1586346 - Remove duplicate pref setting in raptor's user.js file. r=perftest-reviewers,stephendonner 2019-10-04 17:18:03 +00:00
raptor Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre 2019-10-10 18:51:45 +00:00
runtimes
specialpowers Bug 1587580 - Use the actual source filename and line number for SpecialPowers.spawn callback. r=mccr8 2019-10-09 21:05:46 +00:00
talos Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre 2019-10-10 18:50:33 +00:00
tools Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown 2019-09-24 14:44:01 +00:00
tps Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown 2019-09-24 14:44:01 +00:00
web-platform Bug 1588486 - Fix whitespace skipping inside inlines to handle display: contents correctly. r=mats 2019-10-14 17:38:43 +00:00
webdriver bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham 2019-10-07 12:53:38 +00:00
xpcshell Bug 1517686 - Increase xpcshell harness timeout for selftest.py; r=bc 2019-10-10 16:03:38 +00:00
addtest.py
cppunittest.ini Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz 2019-10-14 17:14:54 +00:00
mach_commands.py Bug 1586027 - Fix lint error. r=lint-fix 2019-10-04 00:03:33 +03:00
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson 2019-09-16 19:44:35 +00:00

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