| <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> |