[Webkit-unassigned] [Bug 8080] New: getElement* returns nodeList that cannot be used with for...in
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Mar 30 08:28:18 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8080
Summary: getElement* returns nodeList that cannot be used with
for...in
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: robin at robindaugherty.net
I get a nodeList from getElementsByName, getElementsByTagName, etc. I then want to step through the list. In IE and Firefox, I can use a for...in statement to step through the nodeList as an array. However, in Safari and latest Nightly of WebKit, the for...in statement does nothing. Silently.
(Not sure whether this should be in Javascript or HTML DOM.)
--
Configure bugmail: http://bugzilla.opendarwin.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