25 lines
564 B
HTML
25 lines
564 B
HTML
<html><!-- webkit-test-runner [ XSSAuditorEnabled=true ] -->
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
testRunner.waitUntilDone();
|
|
}
|
|
|
|
function runtest()
|
|
{
|
|
frames[0].document.getElementById("plg").foobar; // Force plug-in load.
|
|
|
|
location = "data:text/html,PASS if didn't crash." +
|
|
"<script>" +
|
|
"if (window.testRunner)" +
|
|
" testRunner.notifyDone();" +
|
|
"</scr" + "ipt>";
|
|
}
|
|
|
|
|
|
</script>
|
|
<body onload="runtest()">
|
|
<iframe id="frame" src="resources/js-from-destroy-frame.html"></iframe>
|
|
</body>
|
|
</html>
|