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

Unified Diff: content/test/data/android/device_files/content_detection/click_listeners.html

Issue 11085008: [Android] Upstream content detection and ChromeBrowserProvider tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase after landing resources separately. Created 8 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: content/test/data/android/device_files/content_detection/click_listeners.html
diff --git a/content/test/data/android/device_files/content_detection/click_listeners.html b/content/test/data/android/device_files/content_detection/click_listeners.html
new file mode 100644
index 0000000000000000000000000000000000000000..e9beef0cd27af0a0707c7dc01e2eaf90495a65b9
--- /dev/null
+++ b/content/test/data/android/device_files/content_detection/click_listeners.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
+</head>
+<body>
+Blah blah <a href="empty.html">Excepteur sint 1818 Library Street <span id="linktest">Suite</span> 400, VA 20190 occaecat cupidatat</a><br>
+
+<!-- Click listeners --!>
+<span onclick="javascript:window.location.href='empty.html'">
+blah 1818 <span id="clicktest1">Library</span> Street <br>
+Suite 400, VA 20190 blah <br>
+</span><br>
+
+<span id="clicklistener">
+blah 1818 Library Street <br>
+Suite <span id="clicktest2">400</span>, VA 20190 blah <br>
+</span><br>
+
+<script language=javascript>
+var blah = document.getElementById('clicklistener');
+blah.addEventListener('click', function() { window.location.href = "empty.html"; });
+</script>
+
+</body>
+</html>
« no previous file with comments | « content/shell/android/res/values/strings.xml ('k') | content/test/data/android/device_files/content_detection/email.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698