summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/crashtests/696651-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/tests/crashtests/696651-1.html')
-rw-r--r--parser/htmlparser/tests/crashtests/696651-1.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/crashtests/696651-1.html b/parser/htmlparser/tests/crashtests/696651-1.html
new file mode 100644
index 000000000..8c5ee9ed3
--- /dev/null
+++ b/parser/htmlparser/tests/crashtests/696651-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script>
+function runTest() {
+ var iframe = document.getElementsByTagName("iframe")[0];
+ var doc = iframe.contentDocument;
+ doc.write("\u003cscript>document.close();\u003c/script>foo");
+}
+</script>
+<body onload="runTest();">
+<iframe></iframe>
+