| <!DOCTYPE html> |
| <html> |
| <body> |
| <p>This tests that the Strong Password and Strong Confirmation Password AutoFill buttons do not render in a disabled field. It can only be tested in the test tool.</p> |
| <input type="password" placeholder="disabled" disabled data-auto-fill-button-type="StrongPassword"> |
| <input type="password" placeholder="disabled" disabled data-auto-fill-button-type="StrongConfirmationPassword"> |
| <script> |
| if (window.internals) { |
| var inputElements = document.getElementsByTagName("input"); |
| for (let inputElement of inputElements) |
| internals.setShowAutoFillButton(inputElement, inputElement.dataset.autoFillButtonType); |
| } |
| </script> |
| </body> |
| </html> |