From a337baaff2d866d6dc8ece77ffdd2cf976670bcc Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 7 Jul 2017 15:16:17 -0700 Subject: [PATCH] Bug 1357486: Part 0f - Run some chrome tests in in-process mode. r=aswan MozReview-Commit-ID: 1T0tEpwTU3c --HG-- extra : rebase_source : f49082b932105695dd496e53e7bad52fb807e42b extra : absorb_source : 7b06902d6d952c355cc27744789f43f34ef27980 extra : histedit_source : dfc9abfb4a8a66f5789f7773e649ffbd973b0465 --- .../test/mochitest/test_chrome_ext_downloads_open.html | 4 ++++ .../test/mochitest/test_chrome_ext_permissions.html | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_open.html b/toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_open.html index abc6ff9559b7..d01f6672b97a 100644 --- a/toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_open.html +++ b/toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_open.html @@ -56,6 +56,10 @@ add_task(async function test_downloads_open_requires_user_interaction() { }); add_task(async function downloads_open_invalid_id() { + await SpecialPowers.pushPrefEnv({ + set: [["extensions.webextensions.remote", false]], + }); + async function pageScript() { window.addEventListener("keypress", async function handler() { try { diff --git a/toolkit/components/extensions/test/mochitest/test_chrome_ext_permissions.html b/toolkit/components/extensions/test/mochitest/test_chrome_ext_permissions.html index 7753ad601364..de2564eee2ad 100644 --- a/toolkit/components/extensions/test/mochitest/test_chrome_ext_permissions.html +++ b/toolkit/components/extensions/test/mochitest/test_chrome_ext_permissions.html @@ -157,7 +157,8 @@ function makeTest(manifestPermissions, optionalPermissions, checkFetch = true) { add_task(function setup() { // Don't bother with prompts in this test. return SpecialPowers.pushPrefEnv({ - set: [["extensions.webextOptionalPermissionPrompts", false]], + set: [["extensions.webextensions.remote", false], + ["extensions.webextOptionalPermissionPrompts", false]], }); });