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

Unified Diff: content/test/data/accessibility/html/input-password.html

Issue 1019633003: Improve accessibility test for input type=password (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Mac and Android expectations too Created 5 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
Index: content/test/data/accessibility/html/input-password.html
diff --git a/content/test/data/accessibility/html/input-password.html b/content/test/data/accessibility/html/input-password.html
index e6d23eb1dca1a36a24773d06cb4ea192f487f5d1..31666fd461e6f47c0f913a24aa3b2f9cd1ffdc13 100644
--- a/content/test/data/accessibility/html/input-password.html
+++ b/content/test/data/accessibility/html/input-password.html
@@ -4,10 +4,17 @@
@WIN-ALLOW:PROTECTED
@WIN-ALLOW:IA2_STATE*
@WIN-ALLOW:text-input-type*
+@WIN-ALLOW:value='•*
+@WIN-ALLOW:caret_offset*
-->
<!DOCTYPE html>
<html>
<body>
- <input type="password">
+ <input type="password" value="secret">
+ <script>
+ var input = document.querySelector("input");
+ input.focus();
+ input.setSelectionRange(6, 6);
+ </script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698