blob: 0ba5c99639e0dfcc1c927120a37482ee224cc815 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p>This tests that we show the correct AutoFill button when AutoFill button type changes. It can only be tested in the test tool.</p>
<input id="credentials">
<input id="contacts">
<script>
if (window.internals) {
internals.setShowAutoFillButton(document.getElementById("credentials"), "Credentials");
internals.setShowAutoFillButton(document.getElementById("credentials"), "Contacts");
internals.setShowAutoFillButton(document.getElementById("contacts"), "Contacts");
internals.setShowAutoFillButton(document.getElementById("contacts"), "Credentials");
}
</script>
</body>
</html>