mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +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,
|
"dom.events.asyncClipboard.clipboardItem": true,
|
||||||
// It's helpful to see where the caret is.
|
// It's helpful to see where the caret is.
|
||||||
"accessibility.browsewithcaret": true,
|
"accessibility.browsewithcaret": true,
|
||||||
|
// Disable the newtabpage stuff.
|
||||||
|
"browser.newtabpage.enabled": false,
|
||||||
...extraPrefsFirefox,
|
...extraPrefsFirefox,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue