Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: chrome/test/data/frame_tree/anchor_to_same_site_location.html

Issue 2686943002: New WebContents created via ctrl-click should be in a new process. (Closed)
Patch Set: Test comments. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698