From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../test/performance/browser_preferences_usage.js | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'browser/base/content/test/performance') diff --git a/browser/base/content/test/performance/browser_preferences_usage.js b/browser/base/content/test/performance/browser_preferences_usage.js index b0ff140d19..9ad9a8dde8 100644 --- a/browser/base/content/test/performance/browser_preferences_usage.js +++ b/browser/base/content/test/performance/browser_preferences_usage.js @@ -70,13 +70,6 @@ function checkPrefGetters(stats, max, knownProblematicPrefs = {}) { } } - // This pref will be accessed by mozJSComponentLoader when loading modules, - // which fails TV runs since they run the test multiple times without restarting. - // We just ignore this pref, since it's for testing only anyway. - if (knownProblematicPrefs["browser.startup.record"]) { - delete knownProblematicPrefs["browser.startup.record"]; - } - let unusedPrefs = Object.keys(knownProblematicPrefs); is( unusedPrefs.length, @@ -104,18 +97,9 @@ add_task(async function startup() { let max = 40; let knownProblematicPrefs = { - "browser.startup.record": { - // This pref is accessed in Nighly and debug builds only. - min: 200, - max: 450, - }, "network.loadinfo.skip_type_assertion": { // This is accessed in debug only. }, - "chrome.override_package.global": { - min: 0, - max: 50, - }, }; let startupRecorder = @@ -135,9 +119,6 @@ add_task(async function open_10_tabs() { const max = 4 * DEFAULT_PROCESS_COUNT; let knownProblematicPrefs = { - "browser.startup.record": { - max: 20, - }, "browser.tabs.remote.logSwitchTiming": { max: 35, }, -- cgit v1.2.3