From f858abb2cd3ae2b22ea011f52d4a6a92d7731246 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Thu, 19 Sep 2019 04:08:18 +0000 Subject: [PATCH] Bug 1582229 - Unrestrict the eval() preferences from Nightly r=ckerschb Differential Revision: https://phabricator.services.mozilla.com/D46331 --HG-- extra : moz-landing-system : lando --- browser/app/profile/firefox.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 9c8839240133..f781802aa714 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -503,11 +503,12 @@ pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000); pref("browser.tabs.remote.enforceRemoteTypeRestrictions", true); #endif +// allow_eval_* is enabled on Firefox Desktop only at this +// point in time +pref("security.allow_eval_with_system_principal", false); +pref("security.allow_eval_in_parent_process", false); + #ifdef NIGHTLY_BUILD - // allow_eval_* is enabled on Firefox Desktop only at this - // point in time - pref("security.allow_eval_with_system_principal", false); - pref("security.allow_eval_in_parent_process", false); pref("browser.tabs.remote.useHTTPResponseProcessSelection", true); #else // Disabled outside of nightly due to bug 1554217