Bug 1035422 - Control the layout.imagevisibility.enabled pref in a single place. r=tn
authorLucas Silvestre <lukas.silvestre@gmail.com>
Tue, 21 Oct 2014 11:08:51 -0700
changeset 211582 f4316faa5c0cf2f18ddca4bbcef5eaf5a0c81592
parent 211581 b3ea9f5f9b9f14759f18ab329e396c7d1c47b93f
child 211583 dd29a568fb2fb1b8c23b02c1ca2026f1c59ea4d7
push id27681
push userkwierso@gmail.com
push dateWed, 22 Oct 2014 00:45:55 +0000
treeherdermozilla-central@367d8d88c2cb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstn
bugs1035422
milestone36.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 1035422 - Control the layout.imagevisibility.enabled pref in a single place. r=tn
b2g/app/b2g.js
browser/metro/profile/metro.js
mobile/android/app/mobile.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -846,17 +846,16 @@ pref("font.size.inflation.disabledInMast
 pref("memory.free_dirty_pages", true);
 
 // Enable the Linux-specific, system-wide memory reporter.
 pref("memory.system_memory_reporter", true);
 
 // Don't dump memory reports on OOM, by default.
 pref("memory.dump_reports_on_oom", false);
 
-pref("layout.imagevisibility.enabled", true);
 pref("layout.imagevisibility.numscrollportwidths", 1);
 pref("layout.imagevisibility.numscrollportheights", 1);
 
 // Enable native identity (persona/browserid)
 pref("dom.identity.enabled", true);
 
 // Wait up to this much milliseconds when orientation changed
 pref("layers.orientation.sync.timeout", 1000);
--- a/browser/metro/profile/metro.js
+++ b/browser/metro/profile/metro.js
@@ -666,15 +666,14 @@ pref("full-screen-api.content-only", tru
 // window from changing size when we go fullscreen; the content expands to fill
 // the window, the window size doesn't change. This pref has no effect when
 // running in actual Metro mode, as the widget will already be fullscreen then.
 pref("full-screen-api.ignore-widgets", true);
 
 // image visibility prefs.
 // image visibility tries to only keep images near the viewport decoded instead
 // of keeping all images decoded.
-pref("layout.imagevisibility.enabled", true);
 pref("layout.imagevisibility.numscrollportwidths", 1);
 pref("layout.imagevisibility.numscrollportheights", 1);
 
 // Don't enable <input type=color> yet as we don't have a color picker
 // implemented for Windows Metro (bug 895464)
 pref("dom.forms.color", false);
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -719,17 +719,16 @@ pref("dom.event.touch.coalescing.enabled
 // default orientation for the app, default to undefined
 // the java GeckoScreenOrientationListener needs this to be defined
 pref("app.orientation.default", "");
 
 // On memory pressure, release dirty but unused pages held by jemalloc
 // back to the system.
 pref("memory.free_dirty_pages", true);
 
-pref("layout.imagevisibility.enabled", true);
 pref("layout.imagevisibility.numscrollportwidths", 1);
 pref("layout.imagevisibility.numscrollportheights", 1);
 
 pref("layers.enable-tiles", true);
 
 // Enable the dynamic toolbar
 pref("browser.chrome.dynamictoolbar", true);