ap@apple.com | 4cba408 | 2014-01-22 00:06:00 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
cfleizach@apple.com | 8b2c964 | 2014-01-21 20:56:44 +0000 | [diff] [blame] | 2 | <html> |
| 3 | <head> |
ap@apple.com | 4cba408 | 2014-01-22 00:06:00 +0000 | [diff] [blame] | 4 | <script src="../resources/js-test-pre.js"></script> |
cfleizach@apple.com | 8b2c964 | 2014-01-21 20:56:44 +0000 | [diff] [blame] | 5 | </head> |
| 6 | <body id="body"> |
| 7 | |
| 8 | <input type="password" id="pass" value="test"> |
| 9 | |
| 10 | <p id="description"></p> |
| 11 | <div id="console"></div> |
| 12 | |
| 13 | <script> |
| 14 | |
| 15 | description("This tests that the AX exposed value of a password field is the rendered text."); |
| 16 | |
ap@apple.com | 4cba408 | 2014-01-22 00:06:00 +0000 | [diff] [blame] | 17 | if (window.accessibilityController) |
cfleizach@apple.com | 8b2c964 | 2014-01-21 20:56:44 +0000 | [diff] [blame] | 18 | debug("Password field: " + accessibilityController.accessibleElementById("pass").stringValue); |
ap@apple.com | 4cba408 | 2014-01-22 00:06:00 +0000 | [diff] [blame] | 19 | else |
| 20 | testFailed("This test depends on accessibilityController, please use run-webkit-tests to run it."); |
cfleizach@apple.com | 8b2c964 | 2014-01-21 20:56:44 +0000 | [diff] [blame] | 21 | successfullyParsed = true; |
| 22 | |
| 23 | </script> |
| 24 | |
ap@apple.com | 4cba408 | 2014-01-22 00:06:00 +0000 | [diff] [blame] | 25 | <script src="../resources/js-test-post.js"></script> |
cfleizach@apple.com | 8b2c964 | 2014-01-21 20:56:44 +0000 | [diff] [blame] | 26 | </body> |
| 27 | </html> |