summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/nothing.html
blob: 039495d78d6cc0b7970e211e67753b07a411fa9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<meta charset=utf-8>
<title>Methods that must do nothing: clear(), captureEvents(), and releaseEvents()</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
  assert_equals(document.clear(), undefined);
}, "document.clear");

test(function() {
  assert_equals(document.captureEvents(), undefined);
}, "document.captureEvents");

test(function() {
  assert_equals(document.releaseEvents(), undefined);
}, "document.releaseEvents");

test(function() {
  assert_equals(window.captureEvents(), undefined);
}, "window.captureEvents");

test(function() {
  assert_equals(window.releaseEvents(), undefined);
}, "window.releaseEvents");
</script>