Bug 1385127 - Enable bookmark validation on early Beta. r?markh draft
authorKit Cambridge <kit@yakshaving.ninja>
Thu, 27 Jul 2017 16:07:14 -0700
changeset 617112 b056318dd61366ed34be25f413dd3be0ac234608
parent 616205 f1693d664f8e8ee4c79801630c181c28095cad56
child 639703 b1de34e3743ac3c7792b43f5dcbaf0e7c78442cc
push id70928
push userbmo:kit@mozilla.com
push dateThu, 27 Jul 2017 23:07:56 +0000
reviewersmarkh
bugs1385127
milestone56.0a1
Bug 1385127 - Enable bookmark validation on early Beta. r?markh MozReview-Commit-ID: h1ps0YebkW
services/sync/services-sync.js
--- a/services/sync/services-sync.js
+++ b/services/sync/services-sync.js
@@ -77,20 +77,25 @@ pref("services.sync.log.logger.identity"
 pref("services.sync.log.cryptoDebug", false);
 
 pref("services.sync.fxa.termsURL", "https://accounts.firefox.com/legal/terms");
 pref("services.sync.fxa.privacyURL", "https://accounts.firefox.com/legal/privacy");
 
 pref("services.sync.telemetry.submissionInterval", 43200); // 12 hours in seconds
 pref("services.sync.telemetry.maxPayloadCount", 500);
 
-#ifndef RELEASE_OR_BETA
-// Enable the (fairly costly) client/server validation on nightly/aurora only.
+#ifdef EARLY_BETA_OR_EARLIER
+// Enable the (fairly costly) client/server validation through early Beta, but
+// not release candidates or Release.
 pref("services.sync.engine.bookmarks.validation.enabled", true);
-// Enable repair of bookmarks - requires validation also be enabled.
+#endif
+
+#if defined(NIGHTLY_BUILD)
+// Enable repair of bookmarks on Nightly only - requires validation also be
+// enabled.
 pref("services.sync.engine.bookmarks.repair.enabled", true);
 #endif
 
 // We consider validation this frequently. After considering validation, even
 // if we don't end up validating, we won't try again unless this much time has passed.
 pref("services.sync.engine.bookmarks.validation.interval", 86400); // 24 hours in seconds
 
 // We only run validation `services.sync.validation.percentageChance` percent of