Closed Bug 1131138 Opened 9 years ago Closed 9 years ago

Add prefs that should be collected in TelemetryEnvironment

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gfritzsche, Unassigned)

References

Details

(Whiteboard: [fixed by bug 1140558])

Attachments

(1 file)

Bug 1122048 adds a pref collection mechanism to TelemetryEnvironment.

See bug 1130473, bug 1122046, and bug 1129253 for the prefs we need to implement.
They will need to be added to TelemetryEnvironment._watchedPrefs.
This lists the prefs that need to be added.

We need to initialize _watchedPrefs with a Map() before this line:
http://hg.mozilla.org/mozilla-central/annotate/df3daecd381f/toolkit/components/telemetry/TelemetryEnvironment.jsm#l259

The map will have the prefs listed as keys and a suitable policy as value:
http://hg.mozilla.org/mozilla-central/annotate/df3daecd381f/toolkit/components/telemetry/TelemetryEnvironment.jsm#l230
Whiteboard: [help]
This landed, somewhat confusingly, as part of the first patch on bug 1140558:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd0060c41a3d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [help] → [fixed by bug 1140558]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: