| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <script src="../../../resources/js-test-pre.js"></script> |
| </head> |
| <body> |
| <input type=password> |
| <script> |
| |
| description("Verify that secure input state is disabled when navigating away from a page with a focused password field."); |
| |
| var passwordInput = document.getElementsByTagName("input")[0]; |
| |
| shouldBe("testRunner.secureEventInputIsEnabled", "false"); |
| |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| |
| </script> |
| <script src="../../../resources/js-test-post.js"></script> |
| </body> |
| </html> |