mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1064333 - Init TelemetryPing in tests even if MOZILLA_OFFICIAL is not set. r=froydnj
This commit is contained in:
parent
f121011e65
commit
0bc6be7e7f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user