Revision 3273a3dba99195a5957db9483a6fc2b90ac95dcf authored by jgraham on 19 July 2015, 13:52:04 UTC, committed by jgraham on 19 July 2015, 13:52:04 UTC
Improve the ParentNode#querySelector/All tests.
evaluator-constructor.html
<!doctype html>
<meta charset=utf-8>
<title>XPathEvaluator constructor</title>
<link rel=help href="http://wiki.whatwg.org/wiki/DOM_XPath">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
var x = new XPathEvaluator();
assert_true(x instanceof XPathEvaluator);
}, "Constructor with 'new'");
test(function() {
var x = XPathEvaluator();
assert_true(x instanceof XPathEvaluator);
}, "Constructor without 'new'");
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...