summaryrefslogtreecommitdiff
path: root/test/js
diff options
context:
space:
mode:
Diffstat (limited to 'test/js')
-rw-r--r--test/js/index.html5
-rw-r--r--test/js/parameter-error.html11
2 files changed, 16 insertions, 0 deletions
diff --git a/test/js/index.html b/test/js/index.html
index e3cecd682..f468f5849 100644
--- a/test/js/index.html
+++ b/test/js/index.html
@@ -65,6 +65,11 @@
</ul>
+<h2>Errors</h2>
+<ul>
+<li><a href="parameter-error.html">Missing parameters</a></li>
+</ul>
+
<h2>Assorted</h2>
<ul>
<li><a href="assorted-log-doc-write.html">console.log and document.write</a></li>
diff --git a/test/js/parameter-error.html b/test/js/parameter-error.html
new file mode 100644
index 000000000..02cc33db8
--- /dev/null
+++ b/test/js/parameter-error.html
@@ -0,0 +1,11 @@
+<html>
+<head><title>Insuficient parameters error</title></head>
+<body>
+<h1>Insuficient parameters error</h1>
+<p>Before</p>
+<script>
+document.createComment();
+</script>
+<p>Afterwards</p>
+</body>
+</html>