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. |
| +<hr> |
| +<a href="/title1.html" |
| + id="test-anchor-no-target">Test link to click while holding ctrl key</a> |
|
Łukasz Anforowicz
2017/02/09 16:53:01
Charlie was pointing out that another interesting
alexmos
2017/02/09 22:58:36
Interesting, so ctrl-click on <a target="_blank">
Łukasz Anforowicz
2017/02/10 00:38:18
Yes, the new window/tab has:
- same process
- same
Łukasz Anforowicz
2017/02/10 01:13:50
BTW: I am trying to address the target=_blank case
|
| +</body> |
| +</html> |