From 57a7ffae7d39e4ad2bfab62738bbd04ce5492b7b Mon Sep 17 00:00:00 2001 From: Milan Sreckovic Date: Mon, 7 Mar 2016 16:14:39 -0600 Subject: [PATCH] Bug 1252929 - Change default layers.max-active to 3 on nightly. r=snorp --- mobile/android/app/mobile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 12ee3df1d4f8..0a624419d005 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -611,7 +611,12 @@ pref("layers.low-precision-opacity", "1.0"); // 2) Pages that have too many layers consume too much memory and crash. // By limiting the number of layers on mobile we're making the main thread // work harder keep scrolling smooth and memory low. +#ifdef NIGHTLY_BUILD +// Temporary experiment +pref("layers.max-active", 3); +#else pref("layers.max-active", 20); +#endif pref("notification.feature.enabled", true); pref("dom.webnotifications.enabled", true);