Bug 1527675 - Enable containerless scrolling on the nightly channel in GeckoView. r=mstange
authorBotond Ballo <botond@mozilla.com>
Fri, 08 Mar 2019 21:42:19 +0000
changeset 521185 16764fe5fc568ca68c6db11a7929e15365416c56
parent 521184 c84fd846abe142b628e1c8bcd2144c7c4f21983c
child 521186 76a4586acec25abf778964c339bfde630bd2cce4
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
bugs1527675
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 1527675 - Enable containerless scrolling on the nightly channel in GeckoView. r=mstange Differential Revision: https://phabricator.services.mozilla.com/D19684
mobile/android/app/geckoview-prefs.js
--- a/mobile/android/app/geckoview-prefs.js
+++ b/mobile/android/app/geckoview-prefs.js
@@ -24,21 +24,25 @@ pref("geckoview.console.enabled", false)
 pref("geckoview.logging", "Warn");
 #else
 pref("geckoview.logging", "Debug");
 #endif
 
 // Disable Web Push until we get it working
 pref("dom.push.enabled", false);
 
-// Unlike Fennec, GeckoView may have WebRender enabled, and with WebRender we're
-// going with containerless scrolling (because there are no layers at all with
-// WR, so why not go containerless). So we set this pref to pick up the value
-// in gfxPrefs.h from whether or not WR is enabled.
+// Use containerless scrolling on the Nightly channel.
+// Bug 1137890 tracks letting it ride the trains.
+// For now, on non-Nightly channels we use containerless scrolling with
+// WebRender only (that's what the "2" means).
+#ifdef NIGHTLY_BUILD
+pref("layout.scroll.root-frame-containers", 0);
+#else
 pref("layout.scroll.root-frame-containers", 2);
+#endif
 
 // Inherit locale from the OS, used for multi-locale builds
 pref("intl.locale.requested", "");
 
 // Enable Safe Browsing blocklist updates
 pref("browser.safebrowsing.features.phishing.update", true);
 pref("browser.safebrowsing.features.malware.update", true);