зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1802103 - [remote] Disable location change rate limit. r=webdriver-reviewers,Sasha,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D162826
This commit is contained in:
Родитель
a78ecb23eb
Коммит
1ed700de36
|
@ -178,6 +178,9 @@ const COMMON_PREFERENCES = new Map([
|
|||
["dom.max_chrome_script_run_time", 0],
|
||||
["dom.max_script_run_time", 0],
|
||||
|
||||
// Disable location change rate limitation
|
||||
["dom.navigation.locationChangeRateLimit.count", 0],
|
||||
|
||||
// DOM Push
|
||||
["dom.push.connection.enabled", false],
|
||||
|
||||
|
|
|
@ -18,14 +18,12 @@ import sys
|
|||
import tempfile
|
||||
import time
|
||||
import traceback
|
||||
|
||||
from copy import deepcopy
|
||||
|
||||
import mozversion
|
||||
|
||||
from mozprofile import Profile
|
||||
from mozrunner import Runner, FennecEmulatorRunner
|
||||
import six
|
||||
from mozprofile import Profile
|
||||
from mozrunner import FennecEmulatorRunner, Runner
|
||||
from six import reraise
|
||||
|
||||
from . import errors
|
||||
|
@ -69,6 +67,8 @@ class GeckoInstance(object):
|
|||
# No slow script dialogs
|
||||
"dom.max_chrome_script_run_time": 0,
|
||||
"dom.max_script_run_time": 0,
|
||||
# Disable location change rate limitation
|
||||
"dom.navigation.locationChangeRateLimit.count": 0,
|
||||
# DOM Push
|
||||
"dom.push.connection.enabled": False,
|
||||
# Disable dialog abuse if alerts are triggered too quickly
|
||||
|
|
Загрузка…
Ссылка в новой задаче