blob: 6ebd58235a35a970f6df1dcea7724512889ef62c [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.testRunner) {
testRunner.notifyDone();
}
}
</script>
</body>
</html>