Bug 1158392 - Enable containerless scrolling on the nightly channel in Fennec. r=mstange
authorBotond Ballo <botond@mozilla.com>
Thu, 07 Mar 2019 18:03:32 +0000
changeset 520869 7ea113ba9d69552a29c4e393b2615e564f908b95
parent 520868 c751a6dc722970ef77bf81ed5696a314ea6cb4c0
child 520870 3260913ff01a225aed9d21b30f6c152f503a0101
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1158392
milestone67.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 1158392 - Enable containerless scrolling on the nightly channel in Fennec. r=mstange Differential Revision: https://phabricator.services.mozilla.com/D19683
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -530,19 +530,23 @@ pref("layers.low-precision-resolution", 
 pref("layers.low-precision-opacity", "1.0");
 // We want to limit layers for two reasons:
 // 1) We can't scroll smoothly if we have to many draw calls
 // 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.
 pref("layers.max-active", 20);
 
-// On Fennec we need containerful scrolling to support zooming. Bug 1459312
-// tracks zooming with containerless scrolling.
+// Use containerless scrolling in nightly builds on Fennec.
+// Bug 1137890 tracks letting containerless scrolling ride the trains.
+#ifdef NIGHTLY_BUILD
+pref("layout.scroll.root-frame-containers", 0);
+#else
 pref("layout.scroll.root-frame-containers", 1);
+#endif
 
 pref("notification.feature.enabled", true);
 pref("dom.webnotifications.enabled", true);
 
 // prevent tooltips from showing up
 pref("browser.chrome.toolbar_tips", false);
 
 // don't allow meta-refresh when backgrounded