Bug 785273 - Fix MarionetteJS case breakage, a=test-only, DONTBUILD because NPOTB

This commit is contained in:
Jonathan Griffin 2012-08-27 09:34:23 -07:00
parent 3c576740d3
commit 6d18104c24

View File

@ -117,10 +117,11 @@ class MarionetteJSTestCase(CommonTestCase):
timeout_re = re.compile(r"MARIONETTE_TIMEOUT(\s*)=(\s*)(\d+);")
launch_re = re.compile(r"MARIONETTE_LAUNCH_APP(\s*)=(\s*)['|\"](.*?)['|\"];")
def __init__(self, marionette, methodName='runTest', jsFile=None):
def __init__(self, marionette_weakref, methodName='runTest', jsFile=None):
assert(jsFile)
self.jsFile = jsFile
self.marionette = marionette
self._marionette_weakref = marionette_weakref
self.marionette = None
CommonTestCase.__init__(self, methodName)
def runTest(self):