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.
2 parent s 3ff0d4b + 09f67fb
Raw File
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>
back to top