Bug 1731795 - [marionette] Disable dialog abuse time limit with RecommendedPreferences r=webdriver-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D126356
This commit is contained in:
Julian Descottes 2021-09-28 09:32:10 +00:00
parent 6aa933461e
commit f52d958759
2 changed files with 5 additions and 0 deletions

View file

@ -179,6 +179,9 @@ const COMMON_PREFERENCES = new Map([
// DOM Push
["dom.push.connection.enabled", false],
// Disable dialog abuse if alerts are triggered too quickly.
["dom.successive_dialog_time_limit", 0],
// Only load extensions from the application and user profile
// AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
//

View file

@ -59,6 +59,8 @@ class GeckoInstance(object):
"dom.max_script_run_time": 0,
# DOM Push
"dom.push.connection.enabled": False,
# Disable dialog abuse if alerts are triggered too quickly
"dom.successive_dialog_time_limit": 0,
# Only load extensions from the application and user profile
# AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
"extensions.autoDisableScopes": 0,