[Webkit-unassigned] [Bug 8080] getElement* returns nodeList that cannot be used with for...in

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 7 08:45:28 PST 2007


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|JavaScriptCore              |WebCore JavaScript




------- Comment #2 from ap at webkit.org  2007-01-07 08:45 PDT -------
Please note the values that get enumerated by for...in in Firefox: {0, 1, 2, 3,
4, length, item, namedItem}. In TOT WebKit, we get just {length, item}.

So, while WebKit may have a problem with property enumeration, this doesn't
look like a valid way to iterate a NodeList.


-- 
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