aboutsummaryrefslogtreecommitdiffstats
path: root/test/js/settimeout.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/settimeout.html')
-rw-r--r--test/js/settimeout.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/js/settimeout.html b/test/js/settimeout.html
new file mode 100644
index 00000000..e57dba7f
--- /dev/null
+++ b/test/js/settimeout.html
@@ -0,0 +1,8 @@
+<!doctype html>
+<title>setTimeout test</title>
+<!-- For now, this only tests whether setTimeout crashes the buffer
+ or not. (There has been a bug where it did.) -->
+<script>
+setTimeout(() => void(0), 1000);
+</script>
+Success