Bug 1411517 - stylo: "layout.css.stylo-blocklist.enabled" pref's default value should be false.
At present, the "layout.css.stylo-blocklist.blocked_domains" pref is empty. It
is probably meaningless to set "layout.css.stylo-blocklist.enabled" pref to true
by default. We can set "layout.css.stylo-blocklist.enabled" pref to true by the
styloblocklist system add-on once the "layout.css.stylo-blocklist.blocked_domains"
pref is non-empty.
MozReview-Commit-ID: 2B5JnGEafLo
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5805,17 +5805,18 @@ pref("dom.webkitBlink.dirPicker.enabled"
pref("dom.webkitBlink.filesystem.enabled", true);
#endif
pref("media.block-autoplay-until-in-foreground", true);
// Is Stylo CSS support built and enabled?
// Only define these prefs if Stylo support is actually built in.
#ifdef MOZ_STYLO
-pref("layout.css.stylo-blocklist.enabled", true);
+// XXX: We should flip this pref to true once the blocked_domains is non-empty.
+pref("layout.css.stylo-blocklist.enabled", false);
pref("layout.css.stylo-blocklist.blocked_domains", "");
#ifdef MOZ_STYLO_ENABLE
pref("layout.css.servo.enabled", true);
#else
pref("layout.css.servo.enabled", false);
#endif
#endif