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

Unified Diff: chrome/test/data/popup_blocker/popup-simulated-click-on-anchor2.html

Issue 1008233002: Add a test for a simulated click on a link on tapping of gesture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/popup_blocker/popup-simulated-click-on-anchor2.html
diff --git a/chrome/test/data/popup_blocker/popup-simulated-click-on-anchor2.html b/chrome/test/data/popup_blocker/popup-simulated-click-on-anchor2.html
new file mode 100644
index 0000000000000000000000000000000000000000..7ac7857ffbfe780331395d8d32ca76e77d1c8092
--- /dev/null
+++ b/chrome/test/data/popup_blocker/popup-simulated-click-on-anchor2.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Popup Blocked Simulated Click on Anchor</title>
+<style>
+#anchor { position: absolute; left: 0px; top: 50px; width:700px; height: 300px; }
+</style>
+</head>
+<body>
+<a href="data:text/html,<title>PASS</title>you should see this message when tapping of gesture with Ctrl/Cmd Key"><div id="anchor"> Tap Me</div></a>
+If the click is simulated by tapping of gesture with Ctrl/Cmd Key then there will be an pass message displayed in a new tab on the background. Otherwise, the test fails.
+</body>
+</html>
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc ('k') | content/public/test/browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698