Bug 250989
Summary: | HTMLInputElement::setValueForUser should dispatch an input event | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebCore Misc. | Assignee: | Michael Catanzaro <mcatanzaro> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bugs-noreply, karlcow, mcatanzaro |
Priority: | P2 | Keywords: | BrowserCompat |
Version: | WebKit Nightly Build | ||
Hardware: | PC | ||
OS: | Linux |
Michael Catanzaro
HTMLInputElement::setValueForUser is used to autofill form elements. It differs from setting the form value normally because it creates a change event to trick websites into detecting user input. However, this is not enough for some websites that look only for input events and not change events to decide whether the user modified the form. On such websites, the user has to enter an extra character and then delete it as a workaround.
This fixes password autofill on https://my.cigna.com and https://myaccount.spireenergy.com. It has to be tested manually since this functionality is not exposed to JavaScript.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/8957
Michael Catanzaro
Probably a duplicate of bug #226023, though not yet certain.
Michael Catanzaro
*** This bug has been marked as a duplicate of bug 226023 ***