Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'linux' && os_version == '24.04' && arch == 'x86_64' && debug && verify-standalone
- Manifest: dom/base/test/mochitest.toml
<!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>