Closed Bug 524661 Opened 10 years ago Closed 10 years ago

Fix places in browser.js that use for each...in to loop over arrays

Categories

(Firefox :: General, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 3.7a1
Tracking Status
status1.9.2 --- beta5-fixed

People

(Reporter: mstange, Assigned: mstange)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
Today I came across an extension that extends Array.prototype, and suddenly I got a tooltip whenever my mouse stood still, even over elements without title attributes. This happened because FillInHTMLTooltip uses "for each...in" to iterate over an array.
Attachment #408580 - Flags: review?(gavin.sharp)
Attachment #408580 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/57b3b6d119fd
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Attachment #408580 - Flags: approval1.9.2?
Comment on attachment 408580 [details] [diff] [review]
v1

a192=beltzner
Attachment #408580 - Flags: approval1.9.2? → approval1.9.2+
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.