mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
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. ```
This commit is contained in:
parent
8556a26390
commit
efb45a705e
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue