Bug 831123 - Disable CSS error reporting by default on mobile r=blassey, r=jmaher a=android-only
authorMark Finkle <mfinkle@mozilla.com>
Mon, 21 Jan 2013 14:43:06 -0500
changeset 119433 f8cb1716f5d42b3855c65d4ae3103433df1c82db
parent 119432 24ae2e2afebf69afc78c0c2bc40692de10b6fb49
child 119434 b5e93cc4237c7edfe185696f4d627b7411d99b3c
push id24204
push usereakhgari@mozilla.com
push dateTue, 22 Jan 2013 17:50:00 +0000
treeherdermozilla-central@8962a7fabc33 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, jmaher, android-only
bugs831123
milestone21.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 831123 - Disable CSS error reporting by default on mobile r=blassey, r=jmaher a=android-only
build/automation.py.in
mobile/android/app/mobile.js
--- a/build/automation.py.in
+++ b/build/automation.py.in
@@ -521,16 +521,19 @@ user_pref("plugins.update.url", "http://
 // Make enablePrivilege continue to work for test code. :-(
 user_pref("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer", true);
 
 // Get network events.
 user_pref("network.activity.blipIntervalMilliseconds", 250);
 
 // Don't allow the Data Reporting service to prompt for policy acceptance.
 user_pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", true);
+
+// Make sure CSS error reporting is enabled for tests
+user_pref("layout.css.report_errors", true);
 """ % { "server" : self.webServer + ":" + str(self.httpPort) }
     prefs.append(part)
 
     if useServerLocations:
       # We need to proxy every server but the primary one.
       origins = ["'%s://%s:%s'" % (l.scheme, l.host, l.port)
                 for l in filter(lambda l: "primary" not in l.options, locations)]
       origins = ", ".join(origins)
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -117,16 +117,17 @@ pref("browser.sessionstore.max_tabs_undo
 pref("browser.sessionstore.max_resumed_crashes", 1);
 pref("browser.sessionstore.recent_crashes", 0);
 
 /* these should help performance */
 pref("mozilla.widget.force-24bpp", true);
 pref("mozilla.widget.use-buffer-pixmap", true);
 pref("mozilla.widget.disable-native-theme", true);
 pref("layout.reflow.synthMouseMove", false);
+pref("layout.css.report_errors", false);
 
 /* download manager (don't show the window or alert) */
 pref("browser.download.useDownloadDir", true);
 pref("browser.download.folderList", 1); // Default to ~/Downloads
 pref("browser.download.manager.showAlertOnComplete", false);
 pref("browser.download.manager.showAlertInterval", 2000);
 pref("browser.download.manager.retention", 2);
 pref("browser.download.manager.showWhenStarting", false);