Bug 1547805 - Pref advanced layers back on. r=jrmuizel
authorRyan Hunt <rhunt@eqrion.net>
Wed, 01 May 2019 13:15:35 +0000
changeset 530927 b5867ca37387ceb32cb16f0c782b68a3c9519842
parent 530926 5e3c456acd732fc8ed215869c1d683a0e3e4a2b5
child 530928 d9c1fe157813922d86505e0c987908404fffc141
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1547805
milestone68.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 1547805 - Pref advanced layers back on. r=jrmuizel We don't have the staff to investigate the reported regressions from disabling advanced layers. So to be conservative we are going to re-enable it until we have time to properly remove the code. Differential Revision: https://phabricator.services.mozilla.com/D29250
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -6023,16 +6023,24 @@ pref("dom.payments.defaults.saveAddress"
 pref("dom.payments.request.supportedRegions", "US,CA");
 
 #ifdef MOZ_ASAN_REPORTER
 pref("asanreporter.apiurl", "https://anf1.fuzzing.mozilla.org/crashproxy/submit/");
 pref("asanreporter.clientid", "unknown");
 pref("toolkit.telemetry.overrideUpdateChannel", "nightly-asan");
 #endif
 
+#if defined(XP_WIN)
+pref("layers.mlgpu.enabled", true);
+
+// Both this and the master "enabled" pref must be on to use Advanced Layers
+// on Windows 7.
+pref("layers.mlgpu.enable-on-windows7", true);
+#endif
+
 // Enable lowercased response header name
 pref("dom.xhr.lowercase_header.enabled", true);
 
 // Control whether clients.openWindow() opens windows in the same process
 // that called the API vs following our normal multi-process selection
 // algorithm.  Restricting openWindow to same process improves service worker
 // web compat in the short term.  Once the SW multi-e10s refactor is complete
 // this can be removed.