Bug 1301340 - part4: Force single content process for failing tests. r=mrbkap

This commit is contained in:
Gabor Krizsanits
2016-11-03 19:28:09 +01:00
parent 3fc32f7f92
commit 1755bb8d2f
13 changed files with 62 additions and 9 deletions

View File

@@ -18,6 +18,7 @@ add_task(function* () {
["dom.serviceWorkers.testing.enabled", true],
["dom.serviceWorkers.idle_timeout", SW_TIMEOUT],
["dom.serviceWorkers.idle_extended_timeout", SW_TIMEOUT],
["dom.ipc.processCount", 1],
]
});

View File

@@ -20,6 +20,7 @@ add_task(function* () {
let options = { "set": [
// Accept workers from mochitest's http.
["dom.serviceWorkers.testing.enabled", true],
["dom.ipc.processCount", 1],
]};
SpecialPowers.pushPrefEnv(options, done);
});

View File

@@ -5,6 +5,12 @@
const TAB_URL = "data:text/html,<title>foo</title>";
add_task(function* setup() {
yield SpecialPowers.pushPrefEnv({
set: [["dom.ipc.processCount", 1]]
});
});
add_task(function* () {
let { tab, document } = yield openAboutDebugging("tabs");