dom/imptests/html/domxpath/test_evaluator-constructor.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/imptests/html/domxpath/test_evaluator-constructor.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +<!doctype html>
     1.5 +<meta charset=utf-8>
     1.6 +<title>XPathEvaluator constructor</title>
     1.7 +<link rel=help href="http://wiki.whatwg.org/wiki/DOM_XPath">
     1.8 +<script src=/resources/testharness.js></script>
     1.9 +<script src=/resources/testharnessreport.js></script>
    1.10 +<div id=log></div>
    1.11 +<script>
    1.12 +test(function() {
    1.13 +  var x = new XPathEvaluator();
    1.14 +  assert_true(x instanceof XPathEvaluator);
    1.15 +}, "Constructor with 'new'");
    1.16 +</script>

mercurial