From a24322fdabaa807e912e6366de87847a2bee3810 Mon Sep 17 00:00:00 2001
From: Calixte Denizet <calixte.denizet@gmail.com>
Date: Wed, 27 Oct 2021 11:43:25 +0200
Subject: [PATCH] Avoid to display download panel during integration tests   -
 it could be the cause of the failures in #14189;   - and the patch in firefox
 to enable the pref landed very recently:  
 https://hg.mozilla.org/mozilla-central/rev/3de56e38f3c87f33a1e7849701edb3c62bc472a5

---
 test/test.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test.js b/test/test.js
index e8f21e7bb..51772fd68 100644
--- a/test/test.js
+++ b/test/test.js
@@ -921,6 +921,7 @@ async function startBrowser(browserName, startUrl = "") {
       "pdfjs.disabled": true,
       "browser.helperApps.neverAsk.saveToDisk": "application/pdf",
       // Avoid popup when saving is done
+      "browser.download.improvements_to_download_panel": false,
       "browser.download.panel.shown": true,
       // Save file in output
       "browser.download.folderList": 2,