зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
7405866794
Коммит
a337baaff2
|
@ -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 {
|
||||
|
|
|
@ -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]],
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче