[Webkit-unassigned] [Bug 36427] New: XPathEvaluator returns invalid root node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 21 08:27:13 PDT 2010


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

           Summary: XPathEvaluator returns invalid root node
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://azer.kodfabrik.com/butor/webkit/xpath.html
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: azerkoculu at gmail.com


XPathEvaluator returns invalid root node for "/" expression when context node
is an element without a parent node. 

For example:

var xpe = new XPathEvaluator....
...
xpe.evaluate("/", document.body ... // returns window.document in Webkit.
Firefox returns context node.

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