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

Unified Diff: content/test/data/ctrl-click-subframe-link.html

Issue 1911093002: Remove incorrect DCHECK in RequestOpenURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « content/browser/frame_host/render_frame_host_manager_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/ctrl-click-subframe-link.html
diff --git a/content/test/data/ctrl-click-subframe-link.html b/content/test/data/ctrl-click-subframe-link.html
new file mode 100644
index 0000000000000000000000000000000000000000..6492a05358e6c554bfbc5f88be69ebc599eaedc2
--- /dev/null
+++ b/content/test/data/ctrl-click-subframe-link.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<script>
+ function simulateCtrlClick(target) {
+ var evt = new MouseEvent("click", { "ctrlKey": true });
+ return target.dispatchEvent(evt);
+ }
+ function ctrlClickLink() {
+ simulateCtrlClick(frames[0].document.getElementById("link"));
+ }
+</script>
+</head>
+<body>
+
+<iframe srcdoc="<a href='title1.html' id='link'>link</a>"></iframe>
+
+</body>
+</html>
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698