diff options
Diffstat (limited to '')
-rw-r--r-- | parser/htmlparser/tests/crashtests/696651-1.html | 11 |
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 0000000000..8c5ee9ed3a --- /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> + |