1
0
Fork 0
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:
Tim van der Meij 2024-06-23 16:12:07 +02:00 committed by GitHub
commit 7057142c7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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