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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/accessibility/insertion-point-line-number-on-password-crashes.html
diff --git a/LayoutTests/accessibility/insertion-point-line-number-on-password-crashes.html b/LayoutTests/accessibility/insertion-point-line-number-on-password-crashes.html
deleted file mode 100644
index 0ef039776730c0cb3c3c24addbb605bab34cc796..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/insertion-point-line-number-on-password-crashes.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<body>
-
- <div id="result"></div>
-
- <input type="password" id="password">
-
- <script>
- if (window.accessibilityController) {
- var result = document.getElementById("result");
-
- var password = document.getElementById("password");
- password.focus();
-
- // Make sure this doesn't crash.
- lineNumber = accessibilityController.focusedElement.insertionPointLineNumber;
- result.innerText += "Line number for password element: " + lineNumber + "\n";
- }
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698