blob: 3eb141454fca058521cb59ad43a69cc03ccbcd7c [file] [log] [blame]
<!DOCTYPE html>
<script>
function test()
{
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpNavigationPolicy();
document.querySelector("#link").focus();
eventSender.keyDown("Enter", ["ctrlKey", "metaKey"]);
}
}
</script>
<body onload="test()">
<p>Tests that hitting ctrl-enter on a link with target=_blank still opens it in the background</p>
<a href="blank" id="link">link</a>
</body>