blob: ed3f83ed46b9f764b10d8f0b803957d08ff226f6 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script>
window.name = "main_contents";
function simulateClick(anchor_name, properties) {
var evt = new MouseEvent("click", properties);
target = document.getElementById(anchor_name);
return target.dispatchEvent(evt);
}
</script>
</head>
<body>
This page helps testing shift-clicking or ctrl-clicking an anchor/link
that points to the same site. See also https://crbug.com/23815 and/or
https://crbug.com/658386.
<hr>
<a href="/title1.html"
id="test-anchor-no-target">Test link to click while holding ctrl key</a>
<hr>
<a href="/title1.html"
target="_blank"
id="test-anchor-with-blank-target">Test link with target="_blank"</a>
<hr>
<a href="/title1.html"
target="subframe"
id="test-anchor-with-subframe-target">Test link with target="subframe"</a>
<iframe src="/title1.html" name="subframe"></iframe>
</body>
</html>