dom/base/test/test_clearTimeoutIntervalNoArg.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/base/test/test_clearTimeoutIntervalNoArg.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +<!DOCTYPE html>
     1.5 +<meta charset=utf-8>
     1.6 +<title>Test for clearTimeout/clearInterval with no arguments not throwing</title>
     1.7 +<script src="/resources/testharness.js"></script>
     1.8 +<script src="/resources/testharnessreport.js"></script>
     1.9 +<div id="log"></div>
    1.10 +<script>
    1.11 +test(function() {
    1.12 +  clearTimeout();
    1.13 +}, "clearTimeout with no args should not throw ");
    1.14 +test(function() {
    1.15 +  clearInterval();
    1.16 +}, "clearInterval with no args should not throw ");
    1.17 +</script>

mercurial