chromium/third_party/blink/web_tests/fast/events/download-on-synthesized-alt-click.html

<!doctype html>
<script>
function test()
{
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitUntilDone();
        testRunner.waitUntilExternalURLLoad();

        var a = document.querySelector("#link");
        var evt = new MouseEvent("click", { altKey: true });
        a.dispatchEvent(evt);
    }
}
</script>
<body onload="test()">
<p>Tests that synthesizing alt-click does not result in downloading link. Test passes if no download is observed.</p>
<a href="resources/notify-done.html" id="link">link</a>
</body>