Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
bug 1112660 - Fix B2GDesktopInstance.required_prefs. r=ahal
Browse files Browse the repository at this point in the history
  • Loading branch information
luser committed Jan 7, 2015
1 parent ad60451 commit 553402d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/marionette/client/marionette/geckoinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@ def restart(self, prefs=None, clean=True):
self.start()

class B2GDesktopInstance(GeckoInstance):
required_prefs = {"focusmanager.testmode": True}

def __init__(self, **kwargs):
super(B2GDesktopInstance, self).__init__(**kwargs)
if not self.prefs:
self.prefs = {}
self.prefs["focusmanager.testmode"] = True
self.app_args += ['-chrome', 'chrome://b2g/content/shell.html']

class NullOutput(object):
Expand Down

0 comments on commit 553402d

Please sign in to comment.