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 781957 cab9c623feb493d52529e3144940bdf079022347
parent 781956 90fe6ea6fa690769a39dd769b5b192b63bb4c0c4
child 781958 d12b4fc2b78a8d8ac0152380c35869db6e168a81
push id106459
push userahalberstadt@mozilla.com
push dateFri, 13 Apr 2018 22:27:59 +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__