diff options
Diffstat (limited to 'toolkit/components/passwordmgr/test/subtst_master_pass.html')
-rw-r--r-- | toolkit/components/passwordmgr/test/subtst_master_pass.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/components/passwordmgr/test/subtst_master_pass.html b/toolkit/components/passwordmgr/test/subtst_master_pass.html new file mode 100644 index 000000000..20211866a --- /dev/null +++ b/toolkit/components/passwordmgr/test/subtst_master_pass.html @@ -0,0 +1,12 @@ +<h2>MP subtest</h2> +This form triggers a MP and gets filled in.<br> +<form> +Username: <input type="text" id="userfield" name="u"><br> +Password: <input type="password" id="passfield" name="p"><br> +<script> + // Only notify when we fill in the password field. + document.getElementById("passfield").addEventListener("input", function() { + parent.postMessage("filled", "*"); + }); +</script> +</form> |