Bug 1409958 - reset stylo blocklist to empty string on Nightly for testing. draft
authorJeremy Chen <jeremychen@mozilla.com>
Thu, 19 Oct 2017 11:50:53 +0800
changeset 683008 d684bbf5f73f8eca9c67abdd41f8bfa10fda8496
parent 682167 4efa95ae9141a1973b2cdc026f315691f4e3d7ea
child 736496 f0ab643c912a2444bf4348228ac325e0d64c06a5
push id85216
push userbmo:jeremychen@mozilla.com
push dateThu, 19 Oct 2017 03:53:55 +0000
bugs1409958, 1407911
milestone58.0a1
Bug 1409958 - reset stylo blocklist to empty string on Nightly for testing. The layout.css.stylo-blocklist.blocked_domains pref is set to "arewestyloyet.rs" on Nightly, but empty string on Beta. Since we're going to QA the styloblocklist add-on in Bug 1407911, we make the prefs aligned in both Beta and Nightly in this patch. MozReview-Commit-ID: HoleJvVYm7o
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5795,21 +5795,17 @@ pref("dom.webkitBlink.filesystem.enabled
 #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);
-#ifdef NIGHTLY_BUILD
-pref("layout.css.stylo-blocklist.blocked_domains", "arewestyloyet.rs");
-#else
 pref("layout.css.stylo-blocklist.blocked_domains", "");
-#endif
 #ifdef MOZ_STYLO_ENABLE
 pref("layout.css.servo.enabled", true);
 #else
 pref("layout.css.servo.enabled", false);
 #endif
 #endif
 
 // HSTS Priming