Bug 1445944 - [mozrunner] Remove ability to specify the 'wrap_command' function on an Application context draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Thu, 12 Apr 2018 12:08:05 -0400
changeset 783081 a5deca5affc9d7a6000b5e4f1524a7525ef75fbe
parent 783080 f0750f24891eb4e99d427d865c62c08643679f66
child 783082 7e03e2584992c70d73f120df0836678794f1c868
push id106597
push userahalberstadt@mozilla.com
push dateMon, 16 Apr 2018 14:41:52 +0000
bugs1445944
milestone61.0a1
Bug 1445944 - [mozrunner] Remove ability to specify the 'wrap_command' function on an Application context This is a leftover artifact from the B2G days that isn't being used anymore. MozReview-Commit-ID: FZoTwHltmAG
testing/mozbase/mozrunner/mozrunner/base/browser.py
--- a/testing/mozbase/mozrunner/mozrunner/base/browser.py
+++ b/testing/mozbase/mozrunner/mozrunner/base/browser.py
@@ -54,19 +54,16 @@ class GeckoRuntimeRunner(BaseRunner):
             self.cmdargs.append('-foreground')
         if mozinfo.isMac and '-foreground' not in self.cmdargs:
             # runner should specify '-foreground' on Mac; see
             # https://bugzilla.mozilla.org/show_bug.cgi?id=916512
             self.cmdargs.append('-foreground')
 
         # Bug 775416 - Ensure that binary options are passed in first
         command[1:1] = self.cmdargs
-
-        if hasattr(self.app_ctx, 'wrap_command'):
-            command = self.app_ctx.wrap_command(command)
         return command
 
     def start(self, *args, **kwargs):
         # ensure the profile exists
         if not self.profile.exists():
             self.profile.reset()
             assert self.profile.exists(), "%s : failure to reset profile" % self.__class__.__name__