Agi Sferro c056964bc7 Bug 1567341 - Add XpcshellTestRunnerService. r=owlish
This service, based off of TestRunnerActivity, can be used to run an
xpcshell-test instance.

It supports up to 10 concurrent instances, although we can add more if we need
to.

Local testing indicates that with more than 4 concurrent instances there's not
gain in test running performance.

This also adds a new intent action
|org.mozilla.geckoview.test.XPCSHELL_TEST_MAIN| that can be used by the test
harness to start the main application and gain foreground priority without
starting Gecko (which would interfere with the xpcshell runner services).

Differential Revision: https://phabricator.services.mozilla.com/D106212
2021-03-24 21:49:38 +00:00
..