Bug 1572590 - Indent conditionally-defined prefs in geckoview-prefs.js. r=KrisWright
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 15 Aug 2019 21:07:38 +0000
changeset 488350 5d3bb8c3c3dc302d8267fabeffa88b15ebe01fc1
parent 488349 97e67523f4e5c2871a6ca6113e61dad9f7a3af65
child 488351 fcd0d5ef39e121dbe55ae4e854f37b7f571a90bb
push id36440
push userncsoregi@mozilla.com
push dateFri, 16 Aug 2019 03:57:48 +0000
treeherdermozilla-central@a58b7dc85887 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersKrisWright
bugs1572590
milestone70.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 1572590 - Indent conditionally-defined prefs in geckoview-prefs.js. r=KrisWright Differential Revision: https://phabricator.services.mozilla.com/D41317
mobile/android/app/geckoview-prefs.js
--- a/mobile/android/app/geckoview-prefs.js
+++ b/mobile/android/app/geckoview-prefs.js
@@ -1,12 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+// Please indent all prefs defined within #ifdef/#ifndef conditions. This
+// improves readability, particular for conditional blocks that exceed a single
+// screen.
+
 #filter substitution
 
 #include mobile.js
 
 pref("privacy.trackingprotection.pbmode.enabled", false);
 
 pref("dom.ipc.keepProcessesAlive.web", 1);
 pref("dom.ipc.processCount", 1);
@@ -16,19 +20,19 @@ pref("dom.ipc.processPrelaunch.enabled",
 // Tell Telemetry that we're in GeckoView mode.
 pref("toolkit.telemetry.isGeckoViewMode", true);
 // Disable the Telemetry Event Ping
 pref("toolkit.telemetry.eventping.enabled", false);
 
 pref("geckoview.console.enabled", false);
 
 #ifdef RELEASE_OR_BETA
-pref("geckoview.logging", "Warn");
+  pref("geckoview.logging", "Warn");
 #else
-pref("geckoview.logging", "Debug");
+  pref("geckoview.logging", "Debug");
 #endif
 
 // Enable capture attribute for file input.
 pref("dom.capture.enabled", true);
 
 // Disable Web Push until we get it working
 pref("dom.push.enabled", false);