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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/frame_tree/anchor_targeting_remote_frame.html
diff --git a/chrome/test/data/frame_tree/anchor_targeting_remote_frame.html b/chrome/test/data/frame_tree/anchor_targeting_remote_frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..386934cbc8817c78c4a6dc59eccda850e99b6c53
--- /dev/null
+++ b/chrome/test/data/frame_tree/anchor_targeting_remote_frame.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<html>
+<head>
+<script>
+function simulateClick(properties) {
+ var evt = new MouseEvent("click", properties);
+
+ target = document.getElementById("test-anchor");
+ return target.dispatchEvent(evt);
+}
+</script>
+</head>
+<body>
+This page helps testing shift-clicking or ctrl-clicking an anchor/link
+that normally (when clicked without any modifier keys) targets a remote,
+cross-site frame. See also https://crbug.com/647772.
+<hr>
+<a href="/cross-site/c.com/title1.html"
+ target="cross-site-frame"
+ id="test-anchor">Test link to click while holding ctrl key</a>
+<hr>
+<iframe
+ name="cross-site-frame"
+ src="/cross-site/b.com/title1.html"></iframe>
+</body>
+</html>
« 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