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