<!DOCTYPE html>
<body onload=runTest()>
<iframe src="data:text/html,"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
var a = window.frames[0];
document.removeChild(document.head.parentNode);
a.location = "data:text/plain,pass";
console.log("PASS (No crash.)");
}
</script>
</body>