Avoid JavaScript strict warnings in Telemetry code during startup when the crash reporter is disabled

RESOLVED FIXED in Firefox 48

Status

()

Toolkit
Telemetry
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

unspecified
mozilla48
Points:
---

Firefox Tracking Flags

(firefox48 fixed)

Details

(Whiteboard: [measurement:client])

Attachments

(1 attachment)

During startup with the crash reporter disabled I get:

JavaScript strict warning: resource://gre/modules/TelemetrySession.jsm, line 227: ReferenceError: reference to undefined property Cc['@mozilla.org/toolkit/crash-reporter;1']
JavaScript strict warning: file:///Users/jonathan/moz/trees/obj/i-debug/dist/NightlyDebug.app/Contents/Resources/components/TelemetryStartup.js, line 42: ReferenceError: reference to undefined property Cc['@mozilla.org/toolkit/crash-reporter;1']
Created attachment 8739266 [details] [diff] [review]
patch
Attachment #8739266 - Flags: review?(gfritzsche)
Comment on attachment 8739266 [details] [diff] [review]
patch

Review of attachment 8739266 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks.
Attachment #8739266 - Flags: review?(gfritzsche) → review+
Whiteboard: [measurement:client]

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6f741bd80adc
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox48: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.