chromium/third_party/blink/web_tests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html

<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
    testRunner.setPopupBlockingEnabled(false);
}
</script>
<p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p>
<p>This test passes if it doesn't hang.</p>
<iframe sandbox="allow-scripts allow-popups"
  src="data:text/html,
       <script>
       var win = window.open('about:blank', '_blank');
       win.location = 'http://127.0.0.1:8000/navigation/resources/pass-and-notify-done.html';
       </script>"
  ></iframe>