Bug 1155515 - Disable Reading List and RL Sync on all channels. r=markh, a=me
authorJustin Dolske <dolske@mozilla.com>
Mon, 20 Apr 2015 16:09:10 -0700
changeset 265680 674987e8e0e1ac0c80a66e90f39fa07c70fa80fb
parent 265679 01d3f093c0516876384466af91e7acc0c487170f
child 265681 cdebefc5da888b7d9802bf5f44dd773e99e07377
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkh, me
bugs1155515
milestone39.0a2
Bug 1155515 - Disable Reading List and RL Sync on all channels. r=markh, a=me
browser/app/profile/firefox.js
browser/components/readinglist/test/xpcshell/test_scheduler.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1896,18 +1896,15 @@ pref("dom.ipc.processHangMonitor", true)
 #ifdef DEBUG
 // Don't report hangs in DEBUG builds. They're too slow and often a
 // debugger is attached.
 pref("dom.ipc.reportProcessHangs", false);
 #else
 pref("dom.ipc.reportProcessHangs", true);
 #endif
 
-// Enable ReadingList browser UI by default.
-pref("browser.readinglist.enabled", true);
+pref("browser.readinglist.enabled", false);
 pref("browser.readinglist.sidebarEverOpened", false);
-
-// Enable the readinglist engine by default.
-pref("readinglist.scheduler.enabled", true);
+pref("readinglist.scheduler.enabled", false);
 pref("readinglist.server", "https://readinglist.services.mozilla.com/v1");
 
 // Don't limit how many nodes we care about on desktop:
 pref("reader.parse-node-limit", 0);
--- a/browser/components/readinglist/test/xpcshell/test_scheduler.js
+++ b/browser/components/readinglist/test/xpcshell/test_scheduler.js
@@ -10,16 +10,17 @@ Services.prefs.setCharPref("readinglist.
 let {createTestableScheduler} = Cu.import("resource:///modules/readinglist/Scheduler.jsm", {});
 Cu.import("resource://gre/modules/Preferences.jsm");
 Cu.import("resource://gre/modules/Timer.jsm");
 
 // Log rotation needs a profile dir.
 do_get_profile();
 
 let prefs = new Preferences("readinglist.scheduler.");
+prefs.set("enabled", true);
 
 function promiseObserver(topic) {
   return new Promise(resolve => {
     let obs = (subject, topic, data) => {
       Services.obs.removeObserver(obs, topic);
       resolve(data);
     }
     Services.obs.addObserver(obs, topic, false);