<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setCanOpenWindows(true); | |
} | |
</script> | |
<p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p> | |
<iframe sandbox="allow-scripts allow-modals" | |
src="data:text/html, | |
<script> | |
var win = window.open('about:blank', '_blank'); | |
alert(win ? 'FAIL' : 'PASS'); | |
</script>" | |
></iframe> |