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

Side by Side Diff: chrome/test/data/frame_tree/anchor_to_same_site_location.html

Issue 2680353005: WebContents created via ctrl-click should be in a new process (target=_blank). (Closed)
Patch Set: Rebasing updating LayoutTest/FlagExpectations to account for test name change. 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/chrome_navigation_browsertest.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 window.name = "main_contents"; 5 window.name = "main_contents";
6 function simulateClick(anchor_name, properties) { 6 function simulateClick(anchor_name, properties) {
7 var evt = new MouseEvent("click", properties); 7 var evt = new MouseEvent("click", properties);
8 8
9 target = document.getElementById(anchor_name); 9 target = document.getElementById(anchor_name);
10 return target.dispatchEvent(evt); 10 return target.dispatchEvent(evt);
11 } 11 }
12 </script> 12 </script>
13 </head> 13 </head>
14 <body> 14 <body>
15 This page helps testing shift-clicking or ctrl-clicking an anchor/link 15 This page helps testing shift-clicking or ctrl-clicking an anchor/link
16 that points to the same site. See also https://crbug.com/23815 and/or 16 that points to the same site. See also https://crbug.com/23815 and/or
17 https://crbug.com/658386. 17 https://crbug.com/658386.
18 <hr> 18 <hr>
19 <a href="/title1.html" 19 <a href="/title1.html"
20 id="test-anchor-no-target">Test link to click while holding ctrl key</a> 20 id="test-anchor-no-target">Test link to click while holding ctrl key</a>
21 <hr>
22 <a href="/title1.html"
23 target="_blank"
24 id="test-anchor-with-blank-target">Test link with target="_blank"</a>
25 <hr>
26 <a href="/title1.html"
27 target="subframe"
28 id="test-anchor-with-subframe-target">Test link with target="subframe"</a>
29
30 <iframe src="/title1.html" name="subframe"></iframe>
21 </body> 31 </body>
22 </html> 32 </html>
OLDNEW
« no previous file with comments | « chrome/browser/chrome_navigation_browsertest.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698