Closed Bug 1263051 Opened 4 years ago Closed 4 years ago

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

Categories

(Firefox :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

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
Attached patch patchSplinter Review
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+
https://hg.mozilla.org/mozilla-central/rev/3e84bdc27034
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
You need to log in before you can comment on or make changes to this bug.