When a form is submitted by pressing Enter with FlorisBoard keyboard, JS reads password mask bullets as the value of an input
Categories
(Firefox for Android :: Browser Engine, defect)
Tracking
()
People
(Reporter: val, Unassigned)
Details
Attachments
(1 file)
|
6.55 MB,
video/mp4
|
Details |
Steps to reproduce
- Install the https://florisboard.org open source Android keyboard
- Go to https://jsbin.com/lutimegade/1 (source below)
- Type something into the password input
- Press the submit key on the keyboard
Expected behavior
The entered text should pop up on the alert()
Actual behavior
Password mask characters (bullet characters) appear instead!
And they permanently become the input's value. Even erasing some characters, adding new text, and then submitting via touching the button would show bullets from the first entered string and actual text from the second one.
This doesn't happen with the same keyboard in Chromium-based browsers, nor with the AOSP keyboard in Firefox. This is quite an interesting bug :D
Device information
- Firefox version: 114.2.0 Build #2015957435, f986bd245f+
- Android OS version: 13 (LineageOS 20)
- FlorisBoard version: 0.3.16
Reproducer source
<form>
<input type="password" />
<button>wheeee</button>
</form>
document.querySelector("form").onsubmit = (e) => {
e.preventDefault();
alert(document.querySelector("input").value);
};
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:jonalmeida, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•2 years ago
|
||
Hey Val, thanks for reporting this. Do you happen to know if this happens with other custom keyboards or just FlorisBoard? 🤔
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•1 year ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 4•1 year ago
|
||
I haven't seen it happen with other keyboards, no.
Description
•