blob: 2dfa775d393489bac6314e50358e1f0d0f7ebee1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/ui-helper.js"></script>
</head>
<body>
<input type=password>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
var passwordInput = document.getElementsByTagName("input")[0];
passwordInput.focus();
UIHelper.ensurePresentationUpdate().then(() => {
if (!testRunner.secureEventInputIsEnabled)
alert("FAIL: Secure event input is not enabled after focusing a password input");
location = "resources/reset-state-on-navigation-target.html";
})
</script>
</body>
</html>