blob: 07de5bd135a66651f579e19e024a2ed05f43cd92 [file] [log] [blame]
ap@apple.com4cba4082014-01-22 00:06:00 +00001<!DOCTYPE html>
cfleizach@apple.com8b2c9642014-01-21 20:56:44 +00002<html>
3<head>
ap@apple.com4cba4082014-01-22 00:06:00 +00004<script src="../resources/js-test-pre.js"></script>
cfleizach@apple.com8b2c9642014-01-21 20:56:44 +00005</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.com4cba4082014-01-22 00:06:00 +000017 if (window.accessibilityController)
cfleizach@apple.com8b2c9642014-01-21 20:56:44 +000018 debug("Password field: " + accessibilityController.accessibleElementById("pass").stringValue);
ap@apple.com4cba4082014-01-22 00:06:00 +000019 else
20 testFailed("This test depends on accessibilityController, please use run-webkit-tests to run it.");
cfleizach@apple.com8b2c9642014-01-21 20:56:44 +000021 successfullyParsed = true;
22
23</script>
24
ap@apple.com4cba4082014-01-22 00:06:00 +000025<script src="../resources/js-test-post.js"></script>
cfleizach@apple.com8b2c9642014-01-21 20:56:44 +000026</body>
27</html>