diff options
Diffstat (limited to 'uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js')
-rw-r--r-- | uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js b/uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js index 0d49a898a0..a5de2870af 100644 --- a/uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js +++ b/uriloader/exthandler/tests/mochitest/browser_download_idn_blocklist.js @@ -24,7 +24,10 @@ server.registerFile(`/${encodeURIComponent(TEST_FILE)}`, file); */ add_task(async function test_idn_blocklisted_char_not_escaped() { await SpecialPowers.pushPrefEnv({ - set: [["browser.download.always_ask_before_handling_new_types", false]], + set: [ + ["browser.download.always_ask_before_handling_new_types", false], + ["dom.block_download_insecure", false], + ], }); info("Testing with " + TEST_URL); |