chore: re-arrange firefox preferences (#8581)

There's a set of preferenes that's absolutely critical for juggler
to work. Keep these on top and mark them as critical.
This commit is contained in:
Andrey Lushnikov 2021-08-31 12:15:46 +03:00 committed by GitHub
parent 900cb0982d
commit dce21f1cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 10 deletions

View File

@ -1,12 +1,23 @@
// Any comment. You must start the file with a comment!
// Use light theme by default.
pref("ui.systemUsesDarkTheme", 0);
// =================================================================
// THESE ARE THE PROPERTIES THAT MUST BE ENABLED FOR JUGGLER TO WORK
// =================================================================
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
// @see https://github.com/microsoft/playwright/issues/4297
pref("browser.tabs.remote.useCrossOriginEmbedderPolicy", false);
pref("browser.tabs.remote.useCrossOriginOpenerPolicy", false);
// =================================================================
// =================================================================
// Use light theme by default.
pref("ui.systemUsesDarkTheme", 0);
// Only allow the old modal dialogs. This should be removed when there is
// support for the new modal UI (see Bug 1686743).
pref("prompts.contentPromptSubDialog", false);
@ -152,9 +163,6 @@ pref("datareporting.healthreport.logging.consoleEnabled", false);
pref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
// Automatically unload beforeunload alerts
pref("dom.disable_beforeunload", false);

View File

@ -1,12 +1,23 @@
// Any comment. You must start the file with a comment!
// Use light theme by default.
pref("ui.systemUsesDarkTheme", 0);
// =================================================================
// THESE ARE THE PROPERTIES THAT MUST BE ENABLED FOR JUGGLER TO WORK
// =================================================================
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
// @see https://github.com/microsoft/playwright/issues/4297
pref("browser.tabs.remote.useCrossOriginEmbedderPolicy", false);
pref("browser.tabs.remote.useCrossOriginOpenerPolicy", false);
// =================================================================
// =================================================================
// Use light theme by default.
pref("ui.systemUsesDarkTheme", 0);
// Only allow the old modal dialogs. This should be removed when there is
// support for the new modal UI (see Bug 1686743).
pref("prompts.contentPromptSubDialog", false);
@ -152,9 +163,6 @@ pref("datareporting.healthreport.logging.consoleEnabled", false);
pref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
// Automatically unload beforeunload alerts
pref("dom.disable_beforeunload", false);