Bug 1665404 - Code coverage crash on linux build for multistage welcome r=dmose
authorPunam Dahiya <punamdahiya@yahoo.com>
Tue, 27 Oct 2020 19:49:42 +0000
changeset 554792 f39954582bb1f70947ad5729037333d37136acaa
parent 554791 37be148ce68375e17c141fd8d034cc54e1c1754b
child 554793 7774282861fedcc4b82f40eb221dafede074cb91
push id37898
push userabutkovits@mozilla.com
push dateWed, 28 Oct 2020 09:24:21 +0000
treeherdermozilla-central@83bf4fd3b1fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
bugs1665404
milestone84.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 1665404 - Code coverage crash on linux build for multistage welcome r=dmose Differential Revision: https://phabricator.services.mozilla.com/D94803
toolkit/modules/E10SUtils.jsm
--- a/toolkit/modules/E10SUtils.jsm
+++ b/toolkit/modules/E10SUtils.jsm
@@ -444,21 +444,22 @@ var E10SUtils = {
             : NOT_REMOTE;
         }
 
         if (flags & Ci.nsIAboutModule.URI_MUST_LOAD_IN_CHILD) {
           if (
             flags & Ci.nsIAboutModule.URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS &&
             (useSeparatePrivilegedAboutContentProcess ||
               aURI.filePath == "logins" ||
-              // Force about:welcome into the privileged content process to
+              // Force about:welcome and about:home into the privileged content process to
               // workaround code coverage test failures which result from the
               // workaround in bug 161269. Once that bug is fixed for real,
-              // the about:welcome case below can be removed.
-              aURI.filePath == "welcome")
+              // the about:welcome and about:home case below can be removed.
+              aURI.filePath == "welcome" ||
+              aURI.filePath == "home")
           ) {
             return PRIVILEGEDABOUT_REMOTE_TYPE;
           }
           return DEFAULT_REMOTE_TYPE;
         }
 
         // If the about page can load in parent or child, it should be safe to
         // load in any remote type.