ReferenceError: assignment to undeclared variable res nsUpdateService.js

RESOLVED FIXED in Firefox 29

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cpeterson, Assigned: cpeterson)

Tracking

unspecified
mozilla29
Points:
---

Firefox Tracking Flags

(firefox28 wontfix, firefox29 fixed)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 8355745 [details] [diff] [review]
nsUpdateService-warning.patch

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+
(Assignee)

Comment 2

5 years ago
Landed without "use strict":
https://hg.mozilla.org/integration/mozilla-inbound/rev/fde74e7ea42b
status-firefox28: --- → wontfix
status-firefox29: --- → fixed
https://hg.mozilla.org/mozilla-central/rev/fde74e7ea42b
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29

Updated

5 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.