haikuwebkit/LayoutTests/loader/navigation-policy/should-open-external-urls/window-open-without-flag.html

11 lines
390 B
HTML

<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpPolicyDelegateCallbacks();
testRunner.queueLoad("resources/window-open-to-notify-done.html");
}
</script>
This page opens a 2nd page with the "should open external URLs" flag set to false.<br>
That page does a window.open to open a 3rd page.<br>
That 3rd page should also have the flag set to false.<br>