diff --git a/toolkit/components/telemetry/TelemetryController.jsm b/toolkit/components/telemetry/TelemetryController.jsm index 8988acd95838..958b6af9b4d2 100644 --- a/toolkit/components/telemetry/TelemetryController.jsm +++ b/toolkit/components/telemetry/TelemetryController.jsm @@ -626,8 +626,13 @@ var Impl = { if (IS_UNIFIED_TELEMETRY) { // Enable extended Telemetry on pre-release channels and disable it // on Release/ESR. + let prereleaseChannels = ["nightly", "aurora", "beta"]; + if (!AppConstants.MOZILLA_OFFICIAL) { + // Turn extended telemetry for local developer builds. + prereleaseChannels.push("default"); + } const isPrereleaseChannel = - ["nightly", "aurora", "beta"].includes(AppConstants.MOZ_UPDATE_CHANNEL); + prereleaseChannels.includes(AppConstants.MOZ_UPDATE_CHANNEL); Telemetry.canRecordBase = true; Telemetry.canRecordExtended = isPrereleaseChannel || Services.prefs.getBoolPref(TelemetryUtils.Preferences.OverridePreRelease, false);