blob: 47bf866a1de0f970f909c0dcb82b1a81c5cacb87 [file] [log] [blame]
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var ifm = document.createElement('iframe');
document.body.appendChild(ifm);
var parentDocumentPrototype = document.__proto__;
var childDocumentPrototype = ifm.contentDocument.__proto__;
if (parentDocumentPrototype === childDocumentPrototype)
document.write("FAIL! The parent and child documents have the same prototype.");
else
document.write("PASS");
</script>