[Webkit-unassigned] [Bug 9610] Quirksmode meta bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 15 07:39:21 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=9610





------- Comment #14 from ddkilzer at webkit.org  2007-03-15 07:39 PDT -------
for...in loop iterates over shadowed properties
Reported on 7 February 2007
http://www.quirksmode.org/bugreports/archives/2007/02/forin_loop_iterates_over_shadowed_properties.html

In a for...in loop, Safari mistakenly iterates over shadowed properties of an
object.

Shadowed properties are an object's constructor's prototype properties which
have been overwritten by a property of the object.

This bug affects Safari up to version 2, but has been corrected in WebKit.

Test page: http://tobielangel.com/2007/1/29/for-in-loop-broken-in-safari

Fixed in r15468 per the test page:
http://trac.webkit.org/projects/webkit/changeset/15468


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list