3 <p>Test for
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=12619">bug
12619</a>:
4 Non-abbreviated XPaths don't work.
</p>
10 testRunner
.dumpAsText();
13 result
= document
.evaluate("//div/ancestor::*", document
.body
, null, XPathResult
.UNORDERED_NODE_SNAPSHOT_TYPE
, null);
15 if (2 == result
.snapshotLength
)
16 document
.write("SUCCESS");
18 document
.write("FAILURE: " + result
.snapshotLength
+ " result nodes (should be 2)");
20 document
.write("FAILURE: " + ex
);