Closed Bug 956468 Opened 10 years ago Closed 10 years ago

ReferenceError: assignment to undeclared variable res nsUpdateService.js

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29
Tracking Status
firefox28 --- wontfix
firefox29 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Fixes a strict mode error because the loop variable `res` is not explicitly declared.
Attachment #8355745 - Flags: review?(robert.bugzilla)
Comment on attachment 8355745 [details] [diff] [review]
nsUpdateService-warning.patch

The "use strict" is causing some of the xpcshell tests to fail (at least with the changes I am making in bug 951662 and I haven't checked without the changes).

r=me without "use strict" and I'll investigate why it fails in bug 951662. Thanks!
Attachment #8355745 - Flags: review?(robert.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/fde74e7ea42b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: