Chromium Code Reviews| Index: chrome/test/data/frame_tree/anchor_to_same_site_location.html |
| diff --git a/chrome/test/data/frame_tree/anchor_to_same_site_location.html b/chrome/test/data/frame_tree/anchor_to_same_site_location.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b5527d73bca472cb8aaefc261e3d83df2560b0bb |
| --- /dev/null |
| +++ b/chrome/test/data/frame_tree/anchor_to_same_site_location.html |
| @@ -0,0 +1,21 @@ |
| +<!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/238156. |
|
alexmos
2017/02/09 22:58:36
Typo in bug number?
Łukasz Anforowicz
2017/02/10 00:38:18
Ooops. Done.
|
| +<hr> |
| +<a href="/title1.html" |
| + id="test-anchor-no-target">Test link to click while holding ctrl key</a> |
| +</body> |
| +</html> |