2 if (window
.testRunner
) {
3 testRunner
.dumpAsText();
4 testRunner
.waitUntilDone();
5 testRunner
.setCanOpenWindows(true);
6 testRunner
.setCloseRemainingWindowsWhenComplete(true);
9 <p>To run this test outside of DumpRenderTree, please disable your popup blocker!
</p>
10 <p>If you change this test, please be sure to change popup-allowed-by-sandbox-is-sandboxed.html as well!
</p>
11 <iframe sandbox=
"allow-scripts allow-popups allow-forms"
14 var win = window.open('data:text/html,<form action=javascript:console.log(/PASS/) ><input type=submit></form><script>document.forms[0].submit(); if (window.testRunner) testRunner.notifyDone();<\/script>', '_blank');