Skip to content

Commit efb45a7

Browse files
committed
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. ```
1 parent 8556a26 commit efb45a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,8 @@ async function startBrowser({
946946
"dom.events.asyncClipboard.clipboardItem": true,
947947
// It's helpful to see where the caret is.
948948
"accessibility.browsewithcaret": true,
949+
// Disable the newtabpage stuff.
950+
"browser.newtabpage.enabled": false,
949951
...extraPrefsFirefox,
950952
};
951953
}

0 commit comments

Comments
 (0)