Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / simulated-click-on-anchor-with-target-blank.html
blob91af11abad5faa78da3f8a8ad038788191222e80
1 <!DOCTYPE html>
2 <script>
3 function test()
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpNavigationPolicy();
8 document.querySelector("#link").focus();
9 eventSender.keyDown("\n", ["ctrlKey", "metaKey"]);
12 </script>
13 <body onload="test()">
14 <p>Tests that hitting ctrl-enter on a link with target=_blank still opens it in the background</p>
15 <a href="blank" id="link">link</a>
16 </body>