blob: 163099cc5be3da08ff79063391bd4f67d4dd0a10 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Popup Blocked Simulated Click on Anchor</title>
<script>
console.log("navigate");
function test() {
document.querySelector("a").focus();
}
</script>
</head>
<body onload="test()">
If the click is simulated by the Ctrl+Enter/Cmd+Enter Keys then there will be an pass message displayed in a new tab on the background. Otherwise, the test fails.
<a href="data:text/html,<title>PASS</title>you should see this message when pressing the Ctrl+Enter/Cmd+Enter Keys"></a>
</body>
</html>