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

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: s/renderer/process/ in the field name + initializing the field and variables. Created 3 years, 8 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
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.cc ('k') | content/browser/frame_host/navigator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..56ce8037c7647de15c2de66f56b83d94b6af4038
--- /dev/null
+++ b/chrome/test/data/frame_tree/anchor_to_same_site_location.html
@@ -0,0 +1,22 @@
+<!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>
+</body>
+</html>
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.cc ('k') | content/browser/frame_host/navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698