haikuwebkit/LayoutTests/loader/navigation-policy/should-open-external-urls/window-open-with-flag-from-...

11 lines
463 B
HTML

<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpPolicyDelegateCallbacks();
testRunner.queueLoad("resources/window-open-to-notify-done-from-subframe.html", "", true);
}
</script>
This page opens a 2nd page with the "should open external URLs" flag set to true.<br>
That page has a subframe which calls window.open to a 3rd page.<br>
That 3rd page should have the flag set to false because the subframe initiated the load.<br>