Bug 1427726 - remove pref from preference_usage performance test, r?johannh draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 09 Apr 2018 19:16:34 +0100
changeset 780417 28c995c351ae7b7d02b129a72adf1b152e4e632e
parent 780416 21c79896aaf7b27eab2e6e42ce7b897256a8d357
push id105989
push userbmo:gijskruitbosch+bugs@gmail.com
push dateWed, 11 Apr 2018 11:22:19 +0000
reviewersjohannh
bugs1427726
milestone61.0a1
Bug 1427726 - remove pref from preference_usage performance test, r?johannh MozReview-Commit-ID: saPO7fgcow
browser/base/content/test/performance/browser_preferences_usage.js
--- a/browser/base/content/test/performance/browser_preferences_usage.js
+++ b/browser/base/content/test/performance/browser_preferences_usage.js
@@ -92,20 +92,16 @@ add_task(async function startup() {
     "extensions.getAddons.cache.enabled": {
       min: 10,
       max: 55,
     },
     "dom.max_chrome_script_run_time": {
       min: 20,
       max: 55,
     },
-    // This seems to get called frequently only on infra.
-    "network.jar.block-remote-files": {
-      max: 500,
-    },
   };
 
   let startupRecorder = Cc["@mozilla.org/test/startuprecorder;1"].getService().wrappedJSObject;
   await startupRecorder.done;
 
   ok(startupRecorder.data.prefStats, "startupRecorder has prefStats");
 
   checkPrefGetters(startupRecorder.data.prefStats, max, whitelist);
@@ -156,18 +152,16 @@ add_task(async function open_10_tabs() {
     },
     "dom.max_chrome_script_run_time": {
       max: 20,
     },
     "toolkit.cosmeticAnimations.enabled": {
       min: 5,
       max: 20,
     },
-    // This seems to get called frequently only on infra.
-    "network.jar.block-remote-files": { },
   };
 
   Services.prefs.resetStats();
 
   let tabs = [];
   while (tabs.length < 10) {
     tabs.push(await BrowserTestUtils.openNewForegroundTab(gBrowser, "http://example.com", true, true));
   }