<body>
<iframe></iframe>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

var doc = frames[0].document;
doc.open();
doc.close();
document.write(doc.body.toString() == "[object HTMLBodyElement]" ? "PASS" : "FAIL");
</script>
