haikuwebkit/LayoutTests/accessibility/password-field-value.html

28 lines
689 B
HTML

<!DOCTYPE html>
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body id="body">
<input type="password" id="pass" value="test">
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests that the AX exposed value of a password field is the rendered text.");
if (window.accessibilityController)
debug("Password field: " + accessibilityController.accessibleElementById("pass").stringValue);
else
testFailed("This test depends on accessibilityController, please use run-webkit-tests to run it.");
successfullyParsed = true;
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>