summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/dom/new-harness.js
blob: 49f8e40ad7d23f456e110d57b7a33b05364493e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// We override only the things we need to -- the rest we'll just inherit from
// original-harness.js.  Polymorphism, kind of.
ReflectionHarness.conformanceTesting = true;

ReflectionHarness.test = function(fun, description) {
  test(fun, this.getTypeDescription() + ": " + description);
}

ReflectionHarness.assertEquals = assert_equals;

ReflectionHarness.assertThrows = assert_throws_dom;