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

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/!canIgnoreTargetFrame/shouldNavigateTargetFrame/g 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..f6015bb15d27b7a2de0707e6e917929e9857bbe6
--- /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 shift key</a>
alexmos 2016/10/19 23:48:30 nit: s/shift/ctrl/, since that's what the test doe
Łukasz Anforowicz 2016/10/19 23:52:01 Done.
+<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