[Webkit-unassigned] [Bug 87888] New: XPath expression `//node() ` shouldn’t match the DOCTYPE node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 13:08:55 PDT 2012


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

           Summary: XPath expression `//node()` shouldn’t match the
                    DOCTYPE node
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: data:text/html,<!DOCTYPE%20html><script>document.write
                    (document.evaluate('%2F%2Fnode()'%2C%20document%2C%20n
                    ull%2C%20XPathResult.FIRST_ORDERED_NODE_TYPE%2C%20null
                    ).singleNodeValue%20%3D%3D%20document.documentElement%
                    20%3F%20'PASS'%20%3A%20'FAIL')<%2Fscript>
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mathias at qiwi.be
                CC: peter at chromium.org


Test case:

data:text/html,<!DOCTYPE%20html><script>document.write(document.evaluate('%2F%2Fnode()'%2C%20document%2C%20null%2C%20XPathResult.FIRST_ORDERED_NODE_TYPE%2C%20null).singleNodeValue%20%3D%3D%20document.documentElement%20%3F%20'PASS'%20%3A%20'FAIL')<%2Fscript>

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