From efb45a705e816dda3255cd0183ecd6d1262c2dcd Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Mon, 1 Jul 2024 16:20:04 +0200 Subject: [PATCH] Disable new tab page stuff in Firefox when running tests It should help to have such a garbage in the logs: ``` console.warn: TopSitesFeed: Failed to fetch data from Contile server: NetworkError when attempting to fetch resource. JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource. ``` --- test/test.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.mjs b/test/test.mjs index a5cc117be21fa..69a7959b52096 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -946,6 +946,8 @@ async function startBrowser({ "dom.events.asyncClipboard.clipboardItem": true, // It's helpful to see where the caret is. "accessibility.browsewithcaret": true, + // Disable the newtabpage stuff. + "browser.newtabpage.enabled": false, ...extraPrefsFirefox, }; }