Closed Bug 1263065 Opened 4 years ago Closed 4 years ago

Avoid assignment to undeclared variable JavaScript strict warning in social-content.js

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set

Tracking

(firefox48 fixed)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

During startup I get:

JavaScript strict warning: chrome://browser/content/social-content.js, line 266: ReferenceError: assignment to undeclared variable SocialErrorListener
Attached patch patchSplinter Review
Attachment #8739287 - Flags: review?(mixedpuppy)
Comment on attachment 8739287 [details] [diff] [review]
patch

I think I would choose to use var here, but I don't think it matters.
Attachment #8739287 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/mozilla-central/rev/e680a842e522
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.