summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/crashtests/696651-1.html
blob: 8c5ee9ed3a5028efa5f177dd8f6f47f664dec260 (plain)
1
2
3
4
5
6
7
8
9
10
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>