Closed Bug 1382201 Opened 7 years ago Closed 7 years ago

Use the prefs defined in TelemetryUtils.jsm in TelemetryArchive.jsm

Categories

(Toolkit :: Telemetry, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: alejandro, Assigned: alejandro, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [measurement:client])

Attachments

(1 file, 1 obsolete file)

We should change Telemetry code to use the preferences defined in the TelemetryUtils.jsm file rather than redefining them in TelemetryArchive.jsm
Assignee: nobody → alexrs95
Comment on attachment 8887942 [details] [diff] [review] Use the prefs defined in TelemetryUtils.jsm in TelemetryArchive.jsm Review of attachment 8887942 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/telemetry/TelemetryArchive.jsm @@ +14,5 @@ > Cu.import("resource://gre/modules/XPCOMUtils.jsm", this); > Cu.import("resource://gre/modules/Preferences.jsm", this); > Cu.import("resource://gre/modules/osfile.jsm", this); > +Cu.import("resource://gre/modules/TelemetryUtils.jsm", this); > +Cu.import("resource://gre/modules/TelemetryUtils.jsm", this); You're importing this twice. Please remove one of the two lines.
Attachment #8887942 - Flags: review?(alessio.placitelli) → feedback+
Attachment #8887942 - Attachment is obsolete: true
https://hg.mozilla.org/integration/mozilla-inbound/rev/3b29f600411fcfdab16a161196fef7749cae1803 Bug 1382201 - Use the prefs defined in TelemetryUtils.jsm in TelemetryArchive.jsm. r=dexter
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: