Bug 1664120 - work around code coverage crashes, r=kmag

Differential Revision: https://phabricator.services.mozilla.com/D90184
This commit is contained in:
Dan Mosedale 2020-09-15 18:58:18 +00:00
Родитель 0931312b73
Коммит 69be0466d9
1 изменённых файлов: 6 добавлений и 1 удалений

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

@ -463,7 +463,12 @@ var E10SUtils = {
if (
flags & Ci.nsIAboutModule.URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS &&
(useSeparatePrivilegedAboutContentProcess ||
aURI.filePath == "logins")
aURI.filePath == "logins" ||
// Force about:welcome 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")
) {
return PRIVILEGEDABOUT_REMOTE_TYPE;
}