Bug 1628052 - Remove uses of dom.ipc.keepProcessesAlive.webIsolated.perOrigin to fix leaks. r=kmag

Differential Revision: https://phabricator.services.mozilla.com/D70076
This commit is contained in:
Andrew McCreight 2020-04-28 20:11:27 +00:00
Родитель 37816e1802
Коммит bd708255cb
6 изменённых файлов: 7 добавлений и 22 удалений

Просмотреть файл

@ -1,9 +1,4 @@
[DEFAULT]
prefs =
# With Fission enabled, this directory spawns many child processes, which
# somehow results in frequent shutdown leaks. Reuse the content processes
# to avoid this.
dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
support-files =
head.js
dummy_page.html

Просмотреть файл

@ -5,8 +5,8 @@ prefs =
# to spawn a new extension child process for each test unit.
dom.ipc.keepProcessesAlive.extension=1
# With Fission enabled, this directory spawns many child processes, which
# somehow results in frequent leaks and shutdown hangs. Reuse the content
# processes to avoid this.
# somehow results in frequent shutdown hangs. Reuse the content processes to
# avoid this.
dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
dom.animations-api.core.enabled=true
dom.animations-api.timelines.enabled=true

Просмотреть файл

@ -5,14 +5,9 @@
// This test makes sure that the geolocation prompt does not show a remember
// control inside the private browsing mode.
// This test leaks intermittently with Fission. Make it behave more like
// non-Fission e10s tests to try to avoid them.
add_task(async function setup() {
await SpecialPowers.pushPrefEnv({
set: [
["dom.ipc.keepProcessesAlive.webIsolated.perOrigin", 1],
["dom.vr.always_support_vr", true],
],
set: [["dom.vr.always_support_vr", true]],
});
});

Просмотреть файл

@ -1,8 +1,8 @@
[DEFAULT]
prefs =
# With Fission enabled, this directory spawns many child processes, which
# somehow results in frequent shutdown leaks and hangs. Reuse the content
# processes to avoid this.
# somehow results in frequent shutdown hangs. Reuse the content processes to
# avoid this.
dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
support-files =
head.js

Просмотреть файл

@ -7,11 +7,6 @@ support-files =
dummy_page.html
head.js
head-common.js
prefs =
# With Fission enabled, these tests spawns many child processes, which
# somehow results in frequent shutdown leaks. Reuse the content processes
# to avoid this.
dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
[browser_aboutHomeLoading.js]
[browser_action_searchengine.js]

Просмотреть файл

@ -1,8 +1,8 @@
[DEFAULT]
prefs =
# With Fission enabled, this directory spawns many child processes, which
# somehow results in frequent shutdown leaks. Reuse the content processes
# to avoid this. See bug 1594572.
# somehow results in frequent shutdown hangs. Reuse the content processes to
# avoid this. See bug 1594572.
dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
support-files = head.js
[browser_readerMode.js]