mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 3f8a9cfdc055 (bug 857599) for Mn failures on a CLOSED TREE.
This commit is contained in:
parent
31fd5b46d5
commit
511d282661
@ -2,7 +2,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/
|
||||
|
||||
from mozprofile import Profile
|
||||
from mozrunner import Runner
|
||||
|
||||
|
||||
@ -25,11 +24,11 @@ class GeckoInstance(object):
|
||||
if not profile_path:
|
||||
profile_args["restore"] = False
|
||||
else:
|
||||
profile_args["path_from"] = profile_path
|
||||
profile_args["profile"] = profile_path
|
||||
print "starting runner"
|
||||
self.runner = CloneRunner.create(binary=self.bin,
|
||||
profile_args=profile_args,
|
||||
cmdargs=['-no-remote'])
|
||||
self.runner = Runner.create(binary=self.bin,
|
||||
profile_args=profile_args,
|
||||
cmdargs=['-no-remote'])
|
||||
self.runner.start()
|
||||
|
||||
def close(self):
|
||||
@ -42,8 +41,3 @@ class B2GDesktopInstance(GeckoInstance):
|
||||
required_prefs = {"focusmanager.testmode": True}
|
||||
|
||||
apps = {'b2gdesktop': B2GDesktopInstance}
|
||||
|
||||
|
||||
class CloneRunner(Runner):
|
||||
|
||||
profile_class = Profile.clone
|
||||
|
Loading…
Reference in New Issue
Block a user