From df55753e82660dc65254612d375acae2260a41da Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Tue, 2 Aug 2022 13:23:59 +0000 Subject: [PATCH] Bug 1774178 - Also disable mitigations for privileged about content processes. r=nika,tjr Differential Revision: https://phabricator.services.mozilla.com/D152490 --- dom/ipc/ContentChild.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/ipc/ContentChild.cpp b/dom/ipc/ContentChild.cpp index 01a114ca4bc3..e7aa7324cf0f 100644 --- a/dom/ipc/ContentChild.cpp +++ b/dom/ipc/ContentChild.cpp @@ -2675,7 +2675,8 @@ mozilla::ipc::IPCResult ContentChild::RecvRemoteType( if (StaticPrefs::javascript_options_spectre_disable_for_isolated_content() && (remoteTypePrefix == FISSION_WEB_REMOTE_TYPE || remoteTypePrefix == SERVICEWORKER_REMOTE_TYPE || - remoteTypePrefix == WITH_COOP_COEP_REMOTE_TYPE)) { + remoteTypePrefix == WITH_COOP_COEP_REMOTE_TYPE || + aRemoteType == PRIVILEGEDABOUT_REMOTE_TYPE)) { JS::DisableSpectreMitigationsAfterInit(); }