summaryrefslogtreecommitdiff
path: root/dom/base/test/test_clearTimeoutIntervalNoArg.html
blob: e1d60022fb273ea9a49304300b3f8ffe1b0fa2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset=utf-8>
<title>Test for clearTimeout/clearInterval with no arguments not throwing</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
  clearTimeout();
}, "clearTimeout with no args should not throw ");
test(function() {
  clearInterval();
}, "clearInterval with no args should not throw ");
</script>