chromium/third_party/blink/web_tests/fast/events/simulated-click-by-alt-enter.html

<!DOCTYPE html>
<script>
function test()
{
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
        testRunner.dumpNavigationPolicy();
        document.querySelector("#link").focus();
        eventSender.keyDown("Enter", ["altKey"]);

        <!-- 501 == ui::kDoubleClickTimeMs + 1 -->
        const double_click_timeout_ms = 501;
        setTimeout( () => requestAnimationFrame(testRunner.notifyDone()),
                   double_click_timeout_ms);
    }
}
</script>
<body onload="test()">
<p>Tests that hitting alt-enter on a link opens it in the foreground</p>
<a href="about:blank" id="link">link</a>
</body>