Bug 683167 - Disable tablet UI during unit testing [r=jmaher]
authorMark Finkle <mfinkle@mozilla.com>
Tue, 30 Aug 2011 23:06:58 -0400
changeset 76249 c29ca6c939c802e888b20e37fb785262d64341e3
parent 76248 9f201033b0e6531650c460044d87efacd0a69984
child 76250 dba8b4d896407962453e32fdd2a408edaaae4bae
push id1585
push usermfinkle@mozilla.com
push dateWed, 31 Aug 2011 03:07:25 +0000
treeherdermozilla-inbound@c29ca6c939c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs683167
milestone9.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 683167 - Disable tablet UI during unit testing [r=jmaher]
build/automation.py.in
--- a/build/automation.py.in
+++ b/build/automation.py.in
@@ -331,16 +331,17 @@ class Automation(object):
     self.setupPermissionsDatabase(profileDir,
       {'allowXULXBL':[(l.host, 'noxul' not in l.options) for l in locations]});
 
     part = """\
 user_pref("browser.console.showInPanel", true);
 user_pref("browser.dom.window.dump.enabled", true);
 user_pref("browser.firstrun.show.localepicker", false);
 user_pref("browser.firstrun.show.uidiscovery", false);
+user_pref("browser.ui.layout.tablet", 0); // force tablet UI off
 user_pref("dom.allow_scripts_to_close_windows", true);
 user_pref("dom.disable_open_during_load", false);
 user_pref("dom.max_script_run_time", 0); // no slow script dialogs
 user_pref("dom.max_chrome_script_run_time", 0);
 user_pref("dom.popup_maximum", -1);
 user_pref("dom.send_after_paint_to_content", true);
 user_pref("dom.successive_dialog_time_limit", 0);
 user_pref("signed.applets.codebase_principal_support", true);