From f15c88ee7ae5985f58e9202f78595553de6de958 Mon Sep 17 00:00:00 2001 From: Andrey Belym Date: Wed, 16 May 2018 10:38:57 +0300 Subject: [PATCH 1/2] Add a pref into Firefox temp profile for disabling SHIELD --- src/browser/provider/built-in/firefox/runtime-info.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/provider/built-in/firefox/runtime-info.js b/src/browser/provider/built-in/firefox/runtime-info.js index 02dda7d9cc0..02c6971808e 100644 --- a/src/browser/provider/built-in/firefox/runtime-info.js +++ b/src/browser/provider/built-in/firefox/runtime-info.js @@ -35,7 +35,8 @@ async function generatePrefs (profileDir, port) { 'user_pref("datareporting.healthreport.service.firstRun", false);', 'user_pref("datareporting.policy.dataSubmissionEnabled", false);', 'user_pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);', - 'user_pref("app.shield.optoutstudies.enabled", false);', + 'user_pref("app.shield.optoutstudies.enabled", false);' + 'user_pref("extensions.shield-recipe-client.enabled", false);', 'user_pref("extensions.shield-recipe-client.first_run", false);', 'user_pref("extensions.shield-recipe-client.startupExperimentPrefs.browser.newtabpage.activity-stream.enabled", false);', 'user_pref("devtools.toolbox.host", "window");', From d55c192a8b45feb55f4b38a72239f8ea7f5492cd Mon Sep 17 00:00:00 2001 From: Andrey Belym Date: Wed, 16 May 2018 10:49:28 +0300 Subject: [PATCH 2/2] Update runtime-info.js --- src/browser/provider/built-in/firefox/runtime-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/provider/built-in/firefox/runtime-info.js b/src/browser/provider/built-in/firefox/runtime-info.js index 02c6971808e..72f459411a2 100644 --- a/src/browser/provider/built-in/firefox/runtime-info.js +++ b/src/browser/provider/built-in/firefox/runtime-info.js @@ -35,7 +35,7 @@ async function generatePrefs (profileDir, port) { 'user_pref("datareporting.healthreport.service.firstRun", false);', 'user_pref("datareporting.policy.dataSubmissionEnabled", false);', 'user_pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);', - 'user_pref("app.shield.optoutstudies.enabled", false);' + 'user_pref("app.shield.optoutstudies.enabled", false);', 'user_pref("extensions.shield-recipe-client.enabled", false);', 'user_pref("extensions.shield-recipe-client.first_run", false);', 'user_pref("extensions.shield-recipe-client.startupExperimentPrefs.browser.newtabpage.activity-stream.enabled", false);',