chromium/chrome/test/data/popup_blocker/popup-fake-click-on-anchor3.html

<!DOCTYPE html>
<html>
<head>
<title>Popup Blocked Fake Click on Anchor</title>
<script>
function test() {
  document.querySelector("a").dispatchEvent(new MouseEvent("click", {shiftKey: true}));
}
</script>
</head>
<body onload="test()">
If the fake click was not blocked then there will be a warning message displayed in a new tab. Otherwise, the test passes.
<a href="popup-success.html">link</a>
</body>
</html>