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

Side by Side Diff: LayoutTests/accessibility/insertion-point-line-number-on-password-crashes.html

Issue 1050123003: Rewrote password layout test and removed obsolete tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed some more tests for consistency. 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <body>
7
8 <div id="result"></div>
9
10 <input type="password" id="password">
11
12 <script>
13 if (window.accessibilityController) {
14 var result = document.getElementById("result");
15
16 var password = document.getElementById("password");
17 password.focus();
18
19 // Make sure this doesn't crash.
20 lineNumber = accessibilityController.focusedElement.insertionPointLi neNumber;
21 result.innerText += "Line number for password element: " + lineNumbe r + "\n";
22 }
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698