зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1064333 - Init TelemetryPing in tests even if MOZILLA_OFFICIAL is not set. r=froydnj
This commit is contained in:
Родитель
62deb32fc9
Коммит
766fb7c188
|
@ -907,7 +907,7 @@ let Impl = {
|
|||
}
|
||||
|
||||
#ifdef MOZILLA_OFFICIAL
|
||||
if (!Telemetry.canSend) {
|
||||
if (!Telemetry.canSend && !aTesting) {
|
||||
// We can't send data; no point in initializing observers etc.
|
||||
// Only do this for official builds so that e.g. developer builds
|
||||
// still enable Telemetry based on prefs.
|
||||
|
|
Загрузка…
Ссылка в новой задаче