summaryrefslogtreecommitdiffstats
path: root/toolkit/components/passwordmgr
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-04-26 14:13:32 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-04-26 14:17:01 +0200
commitbf0b2ab2ed3a117cd2c561a47ca939d82e11fddd (patch)
tree7c5654a9ae682e00864e023cf52694505ee5dd4d /toolkit/components/passwordmgr
parentd1b93ee16bcfe882aba5af33e5693df4caae81b3 (diff)
downloadUXP-bf0b2ab2ed3a117cd2c561a47ca939d82e11fddd.tar
UXP-bf0b2ab2ed3a117cd2c561a47ca939d82e11fddd.tar.gz
UXP-bf0b2ab2ed3a117cd2c561a47ca939d82e11fddd.tar.lz
UXP-bf0b2ab2ed3a117cd2c561a47ca939d82e11fddd.tar.xz
UXP-bf0b2ab2ed3a117cd2c561a47ca939d82e11fddd.zip
Capture delayed events and cancel as necessary. (uplift)PM28.5.0_Release
Resolves #1052
Diffstat (limited to 'toolkit/components/passwordmgr')
-rw-r--r--toolkit/components/passwordmgr/test/subtst_master_pass.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/toolkit/components/passwordmgr/test/subtst_master_pass.html b/toolkit/components/passwordmgr/test/subtst_master_pass.html
index 20211866a..14174726a 100644
--- a/toolkit/components/passwordmgr/test/subtst_master_pass.html
+++ b/toolkit/components/passwordmgr/test/subtst_master_pass.html
@@ -2,11 +2,6 @@
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>
+Password: <input type="password" id="passfield" name="p"
+ oninput="parent.postMessage('filled', '*');"><br>
</form>