Index: mobile/android/app/mobile.js |
diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js |
index c65ed047b27208f45d5048fa6c12e8f5a1735056..502827413a5f9d336084226eb095fa4812e87039 100644 |
--- a/mobile/android/app/mobile.js |
+++ b/mobile/android/app/mobile.js |
@@ -101,7 +101,7 @@ pref("network.buffer.cache.count", 24); |
pref("network.buffer.cache.size", 16384); |
// predictive actions |
-pref("network.predictor.enabled", false); |
+pref("network.predictor.enabled", true); |
Felix Dahlke
2015/07/22 16:19:18
I wonder if we actually want this. How I understan
|
pref("network.predictor.max-db-size", 2097152); // bytes |
pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up |
@@ -123,6 +123,7 @@ pref("browser.sessionstore.interval", 10000); // milliseconds |
pref("browser.sessionstore.max_tabs_undo", 5); |
pref("browser.sessionstore.max_resumed_crashes", 1); |
pref("browser.sessionstore.recent_crashes", 0); |
+pref("browser.sessionstore.privacy_level", 0); // saving data: 0 = all, 1 = unencrypted sites, 2 = never |
/* these should help performance */ |
pref("mozilla.widget.force-24bpp", true); |
@@ -176,7 +177,7 @@ pref("xpinstall.whitelist.fileRequest", false); |
pref("xpinstall.whitelist.add", "addons.mozilla.org"); |
pref("xpinstall.whitelist.add.180", "marketplace.firefox.com"); |
-pref("extensions.enabledScopes", 4); |
+pref("extensions.enabledScopes", 1); |
Felix Dahlke
2015/07/22 16:19:18
Needs to be 4, but you already fixed that in a lat
|
pref("extensions.autoupdate.enabled", true); |
pref("extensions.autoupdate.interval", 86400); |
pref("extensions.update.enabled", false); |
@@ -304,11 +305,6 @@ pref("chrome.override_package.passwordmgr", "browser"); |
// enable xul error pages |
pref("browser.xul.error_pages.enabled", true); |
-pref("browser.history.grouping", "day"); |
-pref("browser.history.showSessions", false); |
-pref("browser.sessionhistory.max_entries", 50); |
-pref("browser.history_expire_sites", 40000); |
- |
// disable color management |
pref("gfx.color_management.mode", 0); |
@@ -402,11 +398,14 @@ pref("devtools.errorconsole.enabled", false); |
// to communicate with a usb cable via adb forward. |
pref("devtools.debugger.unix-domain-socket", "/data/data/@ANDROID_PACKAGE_NAME@/firefox-debugger-socket"); |
-pref("font.size.inflation.minTwips", 120); |
+pref("font.size.inflation.minTwips", 0); |
// When true, zooming will be enabled on all sites, even ones that declare user-scalable=no. |
pref("browser.ui.zoom.force-user-scalable", false); |
+pref("ui.zoomedview.enabled", false); |
+pref("ui.zoomedview.limitReadableSize", 8); // value in layer pixels |
+ |
pref("ui.touch.radius.enabled", false); |
pref("ui.touch.radius.leftmm", 3); |
pref("ui.touch.radius.topmm", 5); |
@@ -544,12 +543,15 @@ pref("layers.low-precision-opacity", "1.0"); |
// work harder keep scrolling smooth and memory low. |
pref("layers.max-active", 20); |
+// Temporarily disable support for offsetX/Y to work around Google Maps bug |
+// (bug 1150284) |
+pref("dom.mouseEvent.offsetXY.enabled", false); |
+ |
pref("notification.feature.enabled", true); |
pref("dom.webnotifications.enabled", true); |
// prevent tooltips from showing up |
pref("browser.chrome.toolbar_tips", false); |
-pref("dom.indexedDB.warningQuota", 5); |
// prevent video elements from preloading too much data |
pref("media.preload.default", 1); // default to preload none |
@@ -575,7 +577,7 @@ pref("media.fragmented-mp4.android-media-codec.enabled", true); |
pref("media.fragmented-mp4.android-media-codec.preferred", true); |
// optimize images memory usage |
-pref("image.mem.decodeondraw", false); |
+pref("image.decode-only-on-draw.enabled", true); |
#ifdef NIGHTLY_BUILD |
// Shumway component (SWF player) is disabled by default. Also see bug 904346. |
@@ -709,26 +711,6 @@ pref("network.manage-offline-status", true); |
// increase the timeout clamp for background tabs to 15 minutes |
pref("dom.min_background_timeout_value", 900000); |
-// The default state of reader mode works on loaded a page. |
-pref("reader.parse-on-load.enabled", true); |
- |
-// Force to enable reader mode to parse on loaded a page. |
-// Allow reader mode even on low-memory platforms |
-pref("reader.parse-on-load.force-enabled", false); |
- |
-// The default of font size in reader (1-5) |
-pref("reader.font_size", 3); |
- |
-// The default color scheme in reader (light, dark, sepia, auto) |
-// auto = color automatically adjusts according to ambient light level |
-pref("reader.color_scheme", "auto"); |
- |
-// The font type in reader (sans-serif, serif) |
-pref("reader.font_type", "sans-serif"); |
- |
-// Used to show a first-launch tip in reader |
-pref("reader.has_used_toolbar", false); |
- |
// Media plugins for libstagefright playback on android |
pref("media.plugins.enabled", true); |
@@ -788,13 +770,11 @@ pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed |
// WebPayment |
pref("dom.mozPay.enabled", true); |
-#ifndef RELEASE_BUILD |
pref("dom.payment.provider.0.name", "Firefox Marketplace"); |
pref("dom.payment.provider.0.description", "marketplace.firefox.com"); |
pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req="); |
pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); |
pref("dom.payment.provider.0.requestMethod", "GET"); |
-#endif |
// Shortnumber matching needed for e.g. Brazil: |
// 01187654321 can be found with 87654321 |
@@ -832,9 +812,9 @@ pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json"); |
pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile"); |
// These prefs require a restart to take effect. |
René Jeschke
2015/07/20 17:16:02
Yes, we probably want to change those three to 'fa
|
-pref("browser.snippets.enabled", false); |
-pref("browser.snippets.syncPromo.enabled", false); |
-pref("browser.snippets.firstrunHomepage.enabled", false); |
+pref("browser.snippets.enabled", true); |
+pref("browser.snippets.syncPromo.enabled", true); |
+pref("browser.snippets.firstrunHomepage.enabled", true); |
// The URL of the APK factory from which we obtain APKs for webapps. |
pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/application.apk"); |
@@ -879,3 +859,24 @@ pref("media.gmp-provider.enabled", true); |
// Suppress the first run page of Adblock Plus in Adblock Browser. |
pref("extensions.adblockplus.preconfigured.suppress_first_run_page", true); |
Felix Dahlke
2015/07/22 16:19:18
Since this one has nothing to do with Firefox, we
|
+ |
+// The default color scheme in reader mode (light, dark, auto) |
+// auto = color automatically adjusts according to ambient light level |
+// (auto only works on platforms where the 'devicelight' event is enabled) |
+pref("reader.color_scheme", "auto"); |
+ |
+// Color scheme values available in reader mode UI. |
+pref("reader.color_scheme.values", "[\"dark\",\"auto\",\"light\"]"); |
+ |
+// Whether to use a vertical or horizontal toolbar. |
+pref("reader.toolbar.vertical", false); |
+ |
+// Whether or not to display buttons related to reading list in reader view. |
+pref("browser.readinglist.enabled", true); |
+ |
+// Disable sending console to logcat on release builds. |
+#ifdef RELEASE_BUILD |
+pref("consoleservice.logcat", false); |
+#else |
+pref("consoleservice.logcat", true); |
+#endif |