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

Unified Diff: content/test/data/accessibility/a-onclick.html

Issue 9950068: Improve test engine error feedback: (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile error on mac and add temporary mac expectations files Created 8 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: content/test/data/accessibility/a-onclick.html
diff --git a/content/test/data/accessibility/a-onclick.html b/content/test/data/accessibility/a-onclick.html
new file mode 100644
index 0000000000000000000000000000000000000000..349488b41c6017b5a1122cf60b2f4250604b7ae2
--- /dev/null
+++ b/content/test/data/accessibility/a-onclick.html
@@ -0,0 +1,11 @@
+<html>
+<style>a { text-decoration: underline; display: block; }</style>
+<body>
+ <a onclick="javascript:alert('1');">link with no href but onclick</a>
+ <a id="add-click-handler-to-me">link with no href and click handler added via script</a>
+ <script>
+ document.getElementById('add-click-handler-to-me').
+ addEventListener('click', function() { alert('2'); }, false);
+ </script>
+</body>
+</html>
« no previous file with comments | « content/test/data/accessibility/a-name-expected-win.txt ('k') | content/test/data/accessibility/a-onclick-expected-mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698