<link rel="match" href="password-losing-focus-expected.html">
<input type="password" id="passwd">
<script>
// The verifies the reveal-password button doesn't appear if the password control loses focus.
var passwd = document.getElementById("passwd");
passwd.focus();
eventSender.keyDown('a'); // pass1 shows the reveal-password button.
eventSender.keyDown('F8', ['altKey']); // pass1 reveals the password
passwd.blur(); // pass1 hides the reveal-password button AND the password.
</script>