servo/tests/wpt/web-platform-tests/html/webappapis/timers/negative-settimeout.html

8 lines
247 B
HTML

<!doctype html>
<title>Negative timeout in setTimeout</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
setTimeout(done, -100);
setTimeout(assert_unreached, 10);
</script>