blob: 21ee4a0a3b3cb463c82e9fd22e9035c0668f7780 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.setCustomPolicyDelegate(true, false);
testRunner.waitUntilDone();
testRunner.setCanOpenWindows();
}
</script>
</head>
<body>
<p>Tests that we call the navigation policy delegate when opening a new window to an invalid URL.</p>
<p>Note, this test must be run in DumpRenderTree.</p>
<script>
window.open("http://A=a&B=b", "_top");
window.setTimeout(function() {
if (window.testRunner)
testRunner.notifyDone();
}, 0);
</script>
</body>
</html>