Bug 1898511 - Do not set use_multiprocess when starting geckoview r=jmaher

Since use_multiprocess is no longer used, do not set or pass it from mozdevice.
Since the launch_activity/launch_service e10s optional parameter becomes unused, stop passing it also.

Differential Revision: https://phabricator.services.mozilla.com/D211464
This commit is contained in:
Geoff Brown 2024-05-23 21:08:32 +00:00
parent 95193560a1
commit e3384b5611
5 changed files with 3 additions and 9 deletions

View file

@ -128,7 +128,6 @@ class RemoteGTests(object):
self.device.launch_activity(
self.package,
activity_name=activity,
e10s=False, # gtest is non-e10s on desktop
moz_env=env,
extra_args=args,
wait=False,

View file

@ -4239,7 +4239,7 @@ class ADBDevice(ADBCommand):
application.
:param str extra_args: Extra arguments to be parsed by the app.
:param str url: URL to open
:param bool e10s: If True, run in multiprocess mode.
:param bool e10s: No longer used.
:param bool wait: If True, wait for application to start before
returning.
:param bool grant_runtime_permissions: Grant special runtime
@ -4268,7 +4268,6 @@ class ADBDevice(ADBCommand):
for arg_count, arg in enumerate(extra_args):
extras["arg" + str(arg_count)] = arg
extras["use_multiprocess"] = e10s
extras["out_file"] = out_file
self.launch_application(
app_name,
@ -4308,7 +4307,7 @@ class ADBDevice(ADBCommand):
application.
:param str extra_args: Extra arguments to be parsed by the app.
:param str url: URL to open
:param bool e10s: If True, run in multiprocess mode.
:param bool e10s: No longer used.
:param bool wait: If True, wait for application to start before
returning.
:param bool fail_if_running: Raise an exception if instance of
@ -4336,7 +4335,6 @@ class ADBDevice(ADBCommand):
for arg_count, arg in enumerate(extra_args):
extras["arg" + str(arg_count)] = arg
extras["use_multiprocess"] = e10s
self.launch_application(
app_name,
"%s.%s" % (app_name, activity_name),

View file

@ -56,7 +56,6 @@ class RemoteProcessMonitor:
self.device.launch_activity(
self.app_name,
activity_name=activity,
e10s=e10s,
moz_env=env,
extra_args=args,
url=test_url,

View file

@ -83,7 +83,7 @@ class DeviceRunner(BaseRunner):
if "geckoview" in app:
activity = "TestRunnerActivity"
self.app_ctx.device.launch_activity(
app, activity, e10s=True, moz_env=env, extra_args=args, url=url
app, activity, moz_env=env, extra_args=args, url=url
)
else:
self.app_ctx.device.launch_fennec(

View file

@ -62,7 +62,6 @@ class RemoteProcessMonitor(object):
self.package,
intent="org.mozilla.geckoview.test_runner.XPCSHELL_TEST_MAIN",
activity_name="TestRunnerActivity",
e10s=True,
)
# Newer Androids require that background services originate from
# active apps, so wait here until the test runner is the top
@ -98,7 +97,6 @@ class RemoteProcessMonitor(object):
self.device.launch_service(
self.package,
activity_name=("XpcshellTestRunnerService$i%d" % selectedProcess),
e10s=True,
moz_env=env,
grant_runtime_permissions=False,
extra_args=extra_args,