Strict JavaScript warning ("assignment to undeclared variable i")

VERIFIED FIXED in Firefox 3.7a4

Status

()

VERIFIED FIXED
9 years ago
9 years ago

People

(Reporter: philikon, Assigned: philikon)

Tracking

unspecified
Firefox 3.7a4
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a4pre) Gecko/20100318 Minefield/3.7a4pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a4pre) Gecko/20100318 Minefield/3.7a4pre

When javascript.options.strict set to true, nsSessionStore.js produces a warning: nsSessionStore.js, line 2439: assignment to undeclared variable i

Reproducible: Always
Created attachment 433346 [details] [diff] [review]
Simple fix (missing var or let)

Updated

9 years ago
Assignee: nobody → philipp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Updated

9 years ago
Attachment #433346 - Flags: review?(dietrich)
Attachment #433346 - Flags: review?(dietrich) → review+
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: x86 → All
http://hg.mozilla.org/mozilla-central/rev/43c4c82609e9
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Component: General → Session Restore
Keywords: checkin-needed
QA Contact: general → session.restore
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a4

Updated

9 years ago
Blocks: 561724
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100604 Minefield/3.7a5pre (.NET CLR 3.5.30729)

Verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.