зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1301340 - part3: Force single content process for tests that times out. r=mrbkap
This commit is contained in:
Родитель
af4e54557a
Коммит
684d9317d3
|
@ -25,7 +25,8 @@ add_task(function* setup() {
|
|||
// make sure userContext is enabled.
|
||||
yield new Promise(resolve => {
|
||||
SpecialPowers.pushPrefEnv({"set": [
|
||||
["privacy.userContext.enabled", true]
|
||||
["privacy.userContext.enabled", true],
|
||||
["dom.ipc.processCount", 1]
|
||||
]}, resolve);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -13,6 +13,12 @@ const TEST_DOC = "https://example.com/browser/devtools/client/webconsole/" +
|
|||
"test/test_bug1092055_shouldwarn.html";
|
||||
const SAMPLE_MSG = "specified a header that could not be parsed successfully.";
|
||||
|
||||
add_task(function* setup() {
|
||||
yield SpecialPowers.pushPrefEnv({
|
||||
set: [["dom.ipc.processCount", 1]]
|
||||
});
|
||||
});
|
||||
|
||||
add_task(function* () {
|
||||
let { browser } = yield loadTab(TEST_URI);
|
||||
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
const TEST_URI = "data:text/html;charset=utf-8,Web Console test for splitting";
|
||||
|
||||
function test() {
|
||||
waitForExplicitFinish();
|
||||
SpecialPowers.pushPrefEnv({"set": [["dom.ipc.processCount", 1]]}, runTest);
|
||||
}
|
||||
|
||||
function runTest() {
|
||||
// Test is slow on Linux EC2 instances - Bug 962931
|
||||
requestLongerTimeout(2);
|
||||
|
||||
|
|
|
@ -63,7 +63,8 @@ function play_non_autoplay_audio () {
|
|||
add_task(function* setup_test_preference() {
|
||||
yield new Promise(resolve => {
|
||||
SpecialPowers.pushPrefEnv({"set": [
|
||||
["dom.audiochannel.audioCompeting", true]
|
||||
["dom.audiochannel.audioCompeting", true],
|
||||
["dom.ipc.processCount", 1]
|
||||
]}, resolve);
|
||||
});
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче