blob: 7c9a315bc04fc8ebe57cfe8adf7384787c0d5564 [file] [log] [blame]
<html>
<body onload="notifyLoaded()">
<script>
function notifyLoaded() {
top.innerHasLoaded();
}
// After the top frame has accessed the document of this frame, we
// test that the document wrapper was created in this context and
// not in the top context.
function runTest() {
var paragraph = document.createElement('p');
if (HTMLElement.prototype.isPrototypeOf(paragraph)) {
top.writeOutput("PASS");
} else {
top.writeOutput("FAIL");
}
if (window.layoutTestController) {
layoutTestController.notifyDone();
}
}
</script>
</body>
</html>