summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js')
-rw-r--r--testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js b/testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js
new file mode 100644
index 0000000000..da191f1bf0
--- /dev/null
+++ b/testing/web-platform/tests/html/webappapis/timers/negative-settimeout.any.js
@@ -0,0 +1,3 @@
+setup({ single_test: true });
+setTimeout(done, -100);
+setTimeout(assert_unreached, 10);