If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Avoid JavaScript strict warning in e10srollout/bootstrap.js when the Crash Reporter is disabled

RESOLVED FIXED in Firefox 48

Status

()

Firefox
General
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

unspecified
Firefox 48
Points:
---

Firefox Tracking Flags

(firefox48 fixed)

Details

Attachments

(1 attachment)

During startup I get:

JavaScript strict warning: resource://gre/modules/addons/XPIProvider.jsm -> file:///Users/jwatt/mozilla/trees/obj/i-debug/dist/NightlyDebug.app/Contents/Resources/browser/features/e10srollout@mozilla.org/bootstrap.js, line 98: ReferenceError: reference to undefined property Ci.nsICrashReporter
Created attachment 8739272 [details] [diff] [review]
patch
Attachment #8739272 - Flags: review?(felipc)
Comment on attachment 8739272 [details] [diff] [review]
patch

I guess that's because crash reporter is not defined on that build. I wrapped in the try catch for that reason, but that won't prevent the strict warning..
Attachment #8739272 - Flags: review?(felipc) → review+

Comment 3

2 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/3e84bdc27034

Comment 4

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