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