Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Wed, 02 Jul 2014 01:49:00 -0400
changeset 192133 64d49532fea3
parent 192132 fa00d970788b
child 192134 d0bc1b814b89
push id27075
push userryanvm@gmail.com
push dateThu, 03 Jul 2014 20:08:47 +0000
treeherdermozilla-central@9c43461f16ba [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs1032799
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin
testing/marionette/client/marionette/geckoinstance.py
--- a/testing/marionette/client/marionette/geckoinstance.py
+++ b/testing/marionette/client/marionette/geckoinstance.py
@@ -74,16 +74,19 @@ class GeckoInstance(object):
         if self.runner:
             self.runner.stop()
             self.runner.cleanup()
 
 
 class B2GDesktopInstance(GeckoInstance):
     required_prefs = {"focusmanager.testmode": True}
 
+    def __init__(self, **kwargs):
+        super(B2GDesktopInstance, self).__init__(**kwargs)
+        self.app_args += ['-chrome', 'chrome://b2g/content/shell.html']
 
 class NullOutput(object):
     def __call__(self, line):
         pass
 
 
 apps = {'b2g': B2GDesktopInstance,
         'b2gdesktop': B2GDesktopInstance}