blob: 386934cbc8817c78c4a6dc59eccda850e99b6c53 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script>
function simulateClick(properties) {
var evt = new MouseEvent("click", properties);
target = document.getElementById("test-anchor");
return target.dispatchEvent(evt);
}
</script>
</head>
<body>
This page helps testing shift-clicking or ctrl-clicking an anchor/link
that normally (when clicked without any modifier keys) targets a remote,
cross-site frame. See also https://crbug.com/647772.
<hr>
<a href="/cross-site/c.com/title1.html"
target="cross-site-frame"
id="test-anchor">Test link to click while holding ctrl key</a>
<hr>
<iframe
name="cross-site-frame"
src="/cross-site/b.com/title1.html"></iframe>
</body>
</html>