[Webkit-unassigned] [Bug 110612] New: Enumerating an HTMLCollection needs to enumerate the named properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 22 08:18:20 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110612
Summary: Enumerating an HTMLCollection needs to enumerate the
named properties
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bzbarsky at mit.edu
Consider this testcase:
<!DOCTYPE html>
<form id="x">
<script>
for (var x in document.forms)
document.writeln(x);
</script>
EXPECTED RESULTS: "0 x item namedItem length" in some order
ACTUAL RESULTS: "0 length item namedItem"
Note the missing 'x'.
Gecko and Presto get this right. Trident in IE9 enumerates the 'x' but not the '0', as far as I can tell.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list