| Index: third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html b/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
|
| index 38514b1dac575c55b26cebe5b107ec7751dd8a90..c9d334a22df3d3c9cbb4028f09ec0ddddf989dcc 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/secure-textfield-title-ui.html
|
| @@ -4,15 +4,15 @@
|
| testRunner.dumpAsText();
|
| </script>
|
| <body id="body">
|
| -
|
| +
|
| <!-- This test makes sure that a secure text field has the correct title ui element -->
|
|
|
| <label for="accountpassword"><span class="dslabel">Password</span></label><br>
|
| <input size="30" maxlength="32" id="accountpassword" type="password" name="theAccountPW">
|
| -
|
| +
|
| <div id="result"></div>
|
|
|
| -
|
| +
|
| <script>
|
| if (window.accessibilityController) {
|
| var result = document.getElementById("result");
|
| @@ -21,11 +21,11 @@
|
| pass.focus();
|
| var titleUIElement = accessibilityController.focusedElement.nameElementAtIndex(0);
|
| var titleText = titleUIElement.childAtIndex(0);
|
| - if (titleText.stringValue == "AXValue: Password") {
|
| + if (titleText.name == "Password") {
|
| result.innerText += "Test passed\n";
|
| }
|
| else {
|
| - result.innerText += "Test failed\n";
|
| + result.innerText += "Test failed\n";
|
| }
|
| }
|
| </script>
|
|
|