summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/reftest/bug659763-5.html
blob: 23e9fd8e6f10c28ab42bce148027944d74f50ec2 (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<iframe></iframe>
<script>
var iframe = document.getElementsByTagName("iframe")[0];
var doc = iframe.contentDocument;
doc.open();
doc.write("<i>foo</i>");
doc.close();
</script>