-
ap authored
http://bugs.webkit.org/show_bug.cgi?id=12359 XPathEvaluator may return some nodes more than once in a result set Test: fast/xpath/nodeset-duplicates.html * xml/XPathPath.cpp: (WebCore::XPath::LocationPath::doEvaluate): Ensure uniqueness of elements in the node-set. * xml/XPathPredicate.cpp: (WebCore::XPath::Union::doEvaluate): Fixed a uniqueness algorithm that was already present here. Added a FIXME about incorrect result ordering. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fd9f8312