mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #18316 from timvandermeij/integration-test-addons-xpi
Disable system addon updates for Firefox in testing mode
This commit is contained in:
commit
7057142c7a
1 changed files with 2 additions and 0 deletions
|
@ -916,6 +916,8 @@ async function startBrowser({
|
|||
options.protocol = "webDriverBiDi";
|
||||
|
||||
options.extraPrefsFirefox = {
|
||||
// Disable system addon updates.
|
||||
"extensions.systemAddon.update.enabled": false,
|
||||
// avoid to have a prompt when leaving a page with a form
|
||||
"dom.disable_beforeunload": true,
|
||||
// Disable dialog when saving a pdf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue