blob: 419d4cb4fd84c1d6961b416d9663e3d26a7f3617 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="resources/process-auto-fill-button-type-and-invoke-runTest.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
let inputElements = document.getElementsByTagName("input");
for (let inputElement of inputElements)
inputElement.type = "text";
if (window.internals)
internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body>
<p>This tests that a text field decorated as a Strong Password field revert to a normal text field when the type of the text field changes. It can only be tested in the test tool.</p>
<input type="password" value="Cupertino" data-auto-fill-button-type="StrongPassword">
</body>
</html>