Bug 1598075 - Reuse Fission content processes in reader mode tests. r=Gijs
authorAndrew McCreight <continuation@gmail.com>
Wed, 20 Nov 2019 20:44:35 +0000
changeset 503103 57a8fe3e7ef7d244294c31413f512db6d2c7765a
parent 503102 402ff4eea0ed53b862662acfd001487653a2c1c9
child 503104 6efa9ac39e2c79681e8c1ebbc03a6959a2d31345
push id101118
push useramccreight@mozilla.com
push dateWed, 20 Nov 2019 22:11:56 +0000
treeherderautoland@57a8fe3e7ef7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1598075
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1598075 - Reuse Fission content processes in reader mode tests. r=Gijs There are frequent shutdown hangs in this directory. Making us reuse content processes when Fission is enabled has papered over the shutdown hangs from reader mode tests in other directories, so hopefully it will help here, too. Differential Revision: https://phabricator.services.mozilla.com/D54012
toolkit/components/reader/test/browser.ini
--- a/toolkit/components/reader/test/browser.ini
+++ b/toolkit/components/reader/test/browser.ini
@@ -1,9 +1,14 @@
 [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.
+    dom.ipc.keepProcessesAlive.webIsolated.perOrigin=1
 support-files = head.js
 [browser_readerMode.js]
 support-files =
   readerModeNonArticle.html
   readerModeArticle.html
   readerModeArticleHiddenNodes.html
 skip-if = fission && os == 'win' # Bug 1586139
 [browser_readerMode_hidden_nodes.js]