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

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

Issue 2410303006: Avoiding going through RenderFrameProxy when targeting a *new* frame. (Closed)
Patch Set: s/shift/ctrl/ in a "comment" in the test html file. Created 4 years, 2 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
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 function simulateClick(properties) {
6 var evt = new MouseEvent("click", properties);
7
8 target = document.getElementById("test-anchor");
9 return target.dispatchEvent(evt);
10 }
11 </script>
12 </head>
13 <body>
14 This page helps testing shift-clicking or ctrl-clicking an anchor/link
15 that normally (when clicked without any modifier keys) targets a remote,
16 cross-site frame. See also https://crbug.com/647772.
17 <hr>
18 <a href="/cross-site/c.com/title1.html"
19 target="cross-site-frame"
20 id="test-anchor">Test link to click while holding ctrl key</a>
21 <hr>
22 <iframe
23 name="cross-site-frame"
24 src="/cross-site/b.com/title1.html"></iframe>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « chrome/browser/chrome_site_per_process_browsertest.cc ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698