[Webkit-unassigned] [Bug 93071] New: [Microdata] document.getItems() must treat no token as no parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 23:46:33 PDT 2012


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

           Summary: [Microdata] document.getItems() must treat no token as
                    no parameter
           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


document.getItems() must return all top-level microdata items in the document when no tokens specified in the argument.
spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#dom-document-getitems

sample test:
<div itemscope itemtype="http://example.com/bar"></div>
<div itemscope></div>
<script type ="text/javascript">
assert_equals( document.getItems('').length, 2, 'empty string' );
</script>

Expected: document.getItems('').length must return 2
Actual: Fail- empty string expected 2 but got 1

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