Bug 1592616 - Tracking milestones: set the update interval to 0 before testing the section in the panel. r=johannh
authorNihanth Subramanya <nhnt11@gmail.com>
Wed, 06 Nov 2019 21:16:53 +0000
changeset 500993 332322eb5db638422a41e39f4ae3f1c392353cbf
parent 500992 c77f6edcaafe6f544bf8f8a2ea1bbfad24537072
child 500994 64599da92fcc6f9988d9e50a15c364beef9cb009
push id114166
push userapavel@mozilla.com
push dateThu, 07 Nov 2019 10:04:01 +0000
treeherdermozilla-inbound@d271c572a9bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1592616
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1592616 - Tracking milestones: set the update interval to 0 before testing the section in the panel. r=johannh Differential Revision: https://phabricator.services.mozilla.com/D51981
browser/base/content/test/siteProtections/browser_protections_UI_milestones.js
--- a/browser/base/content/test/siteProtections/browser_protections_UI_milestones.js
+++ b/browser/base/content/test/siteProtections/browser_protections_UI_milestones.js
@@ -4,16 +4,17 @@
 add_task(async function setup() {
   await SpecialPowers.pushPrefEnv({
     set: [
       // Hide protections cards so as not to trigger more async messaging
       // when landing on the page.
       ["browser.contentblocking.report.monitor.enabled", false],
       ["browser.contentblocking.report.lockwise.enabled", false],
       ["browser.contentblocking.report.proxy.enabled", false],
+      ["browser.contentblocking.cfr-milestone.update-interval", 0],
     ],
   });
 });
 
 add_task(async function doTest() {
   // This also ensures that the DB tables have been initialized.
   await TrackingDBService.clearAll();