Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 777996 - Mozmill should set 'focusmanager.testmode'. r=jhammel

  • Loading branch information...
commit 4579ddbf6568efbb1714c1e7a6844e03f3a6a0d3 1 parent 29c68aa
@moijes12 moijes12 authored whimboo committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 mozmill/mozmill/__init__.py
View
5 mozmill/mozmill/__init__.py
@@ -116,8 +116,10 @@ def create(cls, jsbridge_timeout=JSBRIDGE_TIMEOUT,
preferences = profile_args.setdefault('preferences', {})
if isinstance(preferences, dict):
preferences['extensions.jsbridge.port'] = jsbridge_port
+ preferences['focusmanager.testmode'] = True
elif isinstance(preferences, list):
preferences.append(('extensions.jsbridge.port', jsbridge_port))
+ preferences.append(('focusmanager.testmode', True))
else:
raise Exception('Invalid type for preferences in profile_args')
@@ -699,7 +701,8 @@ def profile_args(self):
profile_args.setdefault('addons', []).extend(ADDONS)
profile_args['preferences'] = {
- 'extensions.jsbridge.port': self.jsbridge_port
+ 'extensions.jsbridge.port': self.jsbridge_port,
+ 'focusmanager.testmode': True
}
if self.options.debug:
Please sign in to comment.
Something went wrong with that request. Please try again.