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 192050 64d49532fea3
parent 192049 fa00d970788b
child 192051 d0bc1b814b89
push id8598
push userryanvm@gmail.com
push dateThu, 03 Jul 2014 15:52:03 +0000
treeherderb2g-inbound@24759869afe9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs1032799
milestone33.0a1
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}