blob: 4a7bcf196a6eddcff636ed8ed9935ac067872a91 [file] [log] [blame]
<html>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.setXSSAuditorEnabled(true);
}
function runtest()
{
frames[0].document.getElementById("plg").foobar; // Force plug-in load.
location = "data:text/html,PASS if didn't crash." +
"<script>" +
"if (window.layoutTestController)" +
" layoutTestController.notifyDone();" +
"</scr" + "ipt>";
}
</script>
<body onload="runtest()">
<iframe id="frame" src="resources/js-from-destroy-frame.html"></iframe>
</body>
</html>