Closed Bug 1263042 Opened 8 years ago Closed 8 years ago

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

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

(Whiteboard: [measurement:client])

Attachments

(1 file)

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']
Attached patch patchSplinter Review
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]
https://hg.mozilla.org/mozilla-central/rev/6f741bd80adc
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: