blob: 9e0e34cd8f5dbc230b12a2135068f1fdc87c6be2 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.setCanOpenWindows(true);
testRunner.setCloseRemainingWindowsWhenComplete(true);
}
</script>
<p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p>
<iframe sandbox="allow-scripts allow-popups allow-same-origin"
src="data:text/html,
<script>
var win = window.open('about:blank', '_blank');
if (win) {
console.log('PASS');
win.document.write(
'<script>if (window.testRunner) testRunner.notifyDone();<\/script>');
} else {
console.log('FAIL');
if (window.testRunner) testRunner.notifyDone();
}
</script>"
></iframe>