The placeholder text doesn't go away when using the new password generation UI
Categories
(Toolkit :: Password Manager, defect)
Tracking
()
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
339.94 KB,
image/png
|
Details |
STR:
- Set
signon.generation.available
andsignon.generation.enabled
to true. - Go to www.facebook.com.
- Right click on the New Password field, from the context menu choose Fill Password > Use a Suggested Password.
We autogenerate the password string, but the placeholder text for the input control doesn't get cleared out. See the screenshot.
Comment 1•5 years ago
|
||
Hello Sam, could you please look into this?
Comment 2•5 years ago
|
||
I'll move to the password manager component while we investigate, I'm not sure if this is something we are/are not doing or an editor bug.
Clearing priority for now so it goes into our triage queue.
Reporter | ||
Comment 3•5 years ago
|
||
It may be caused by the way you're setting the value on the editor object. The placeholder value gets cleared on a number of different code paths, but I believe if you use something that isn't exposed to the web (e.g. the .value
setter) then it is possible to end up in this state...
Comment 4•5 years ago
|
||
Looks like that it uses MozEditableElement.setUserInput()
(this is right approach). It's into same path as setting value with additional flag. And HTMLInputElement
handles palceholder
at here. So, it should work with placeholder
attribute.
However, Facebook uses their own placeholder text. Check div[class=placeholder][area-hidden=true]
. We dispatch input
event even when we use SetUserInput()
(not using suppressInputEventDispatching.Init()
).
So, I guess that Facebook does not listen to input
event to show/hide the their own placeholder.
Comment 5•5 years ago
|
||
Right, this is a known issue with facebook.com that also affected Form Autofill on other sites (bug 1395928). See https://github.com/whatwg/html/issues/3016 for the HTML spec issue that needs attention.
We could also tell Facebook to fix this on their side but it won't help the similar issues on sears.com and other sites.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•