summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/reftest/bug659763-4.html
blob: 5317186351d87ea2a18a4c53272d21fdf5f43ada (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/html");
doc.write("<i>foo</i>");
doc.close();
</script>