[Webkit-unassigned] [Bug 106849] New: [Microdata] propertiesCollection[name] should return undefined if item doesn't have a property named 'name'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 14 17:52:08 PST 2013


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

           Summary: [Microdata] propertiesCollection[name] should return
                    undefined if item doesn't have a property named 'name'
           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: arko at motorola.com
            Blocks: 92986


Test:

<html>
<body>
<div id="myDiv" itemscope><div itemprop="bar"> </div></div>
<script type="text/javascript">
    alert(document.getElementById("myDiv").properties['foo']);
</script>
</body>
</html>

Expected: Should return undefined.
Actual: Returns [object PropertyNodeList]

This issue is observed in chromium port only.

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