summaryrefslogtreecommitdiff
path: root/parser/htmlparser/tests/reftest/bug659763-1.html
blob: 46dbde092efe2c182a118cc7ba0bf657befc36ee (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("text/plain");
doc.write("<i>foo</i>");
doc.close();
</script>