haikuwebkit/LayoutTests/loader/navigation-policy/should-open-external-urls/user-gesture-window-open-wi...

11 lines
498 B
HTML

<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpPolicyDelegateCallbacks();
testRunner.queueLoad("resources/user-gesture-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 with a link that - when clicked - calls window.open to a 3rd page.<br>
That 3rd page should have the flag set to true because it was from a user gesture.<br>