Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<script>
function go() {
var doc = document.getElementById("testFrame").contentWindow.document;
doc.open();
doc.close();
doc.body.innerText = "passed";
}
</script>
<body onload="setTimeout(opener.pageLoaded);">
The iframe below should not be blank after a reload.<br>
<iframe src="about:blank" id="testFrame"></iframe>
<script>
go();
</script>