Bug 1305486 - Enable v4 tables on nightly build. draft
authorHenry Chang <hchang@mozilla.com>
Sun, 20 Nov 2016 15:10:19 +0800
changeset 441633 3c7b64b9c9f3bfe60bdd8167ae8af3ad975c6162
parent 441589 57a8cde3f08ca9d60bcd8bdd698ceec687f0aed2
child 537595 509181b417810e47ddc0e74cbbcf6c500a945d39
push id36472
push userhchang@mozilla.com
push dateSun, 20 Nov 2016 07:11:28 +0000
bugs1305486
milestone53.0a1
Bug 1305486 - Enable v4 tables on nightly build. MozReview-Commit-ID: 4iGduuYqMQs
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5039,25 +5039,28 @@ pref("dom.forms.inputmode", true);
 pref("dom.mozInputMethod.enabled", false);
 
 pref("dom.flyweb.enabled", false);
 
 // Enable mapped array buffer by default.
 pref("dom.mapped_arraybuffer.enabled", true);
 
 // The tables used for Safebrowsing phishing and malware checks.
-pref("urlclassifier.malwareTable", "goog-malware-shavar,goog-unwanted-shavar,test-malware-simple,test-unwanted-simple");
-
+#ifdef NIGHTLY_BUILD
+pref("urlclassifier.malwareTable", "goog-malware-shavar,goog-unwanted-shavar,test-malware-simple,test-unwanted-simple,goog-malware-proto,goog-unwanted-proto");
+pref("urlclassifier.phishTable", "goog-phish-shavar,test-phish-simple,goog-phish-proto");
+#else // non-nightly build.
 #ifdef MOZILLA_OFFICIAL
 // In the official build, we are allowed to use google's private
 // phishing list "goog-phish-shavar". See Bug 1288840.
 pref("urlclassifier.phishTable", "goog-phish-shavar,test-phish-simple");
 #else
 pref("urlclassifier.phishTable", "googpub-phish-shavar,test-phish-simple");
-#endif
+#endif // MOZILLA_OFFICIAL
+#endif // NIGHTLY_BUILD
 
 // Tables for application reputation.
 pref("urlclassifier.downloadBlockTable", "goog-badbinurl-shavar");
 
 #ifdef XP_WIN
  // Only download the whitelist on Windows, since the whitelist is
  // only useful for suppressing remote lookups for signed binaries which we can
  // only verify on Windows (Bug 974579). Other platforms always do remote lookups.