[Webkit-unassigned] [Bug 34211] New: [V8] Support getting integer-named properties using indexing notation on document object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 27 05:06:54 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34211

           Summary: [V8] Support getting integer-named properties using
                    indexing notation on document object
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ager at chromium.org
                CC: dglazkov at chromium.org


The V8 binding layer does not handle access of properties with integer names on
HTMLDocuments as illustrated by the following example.  We need to add an
indexed property getter to HTMLDocuments.

<html>
<head>
<script>
function runTest()
{
    alert(document['42']);
    alert(document[42]);
}
</script>
</head>
<body onload="runTest()">
    <img name="42" src="foo.gif">
</body>
</html>

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