Revision 712117fd2551047eab06ca9133205d79ec24389d authored by Reza.Zakerinasab on 06 November 2017, 16:09:10 UTC, committed by Chromium WPT Sync on 06 November 2017, 16:09:10 UTC
This change removes the requirement of experimental canvas features flag
for CreateImageBitmap resize options.

Bug: 762559
Change-Id: Ifcf3a781f10f85a95ba36628b9dd76509181950b
1 parent b2cac4f
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() {
  assert_throws(new TypeError(), "var x = XPathEvaluator()");
}, "Constructor without 'new'");
</script>
back to top