Closed Bug 430931 Opened 14 years ago Closed 13 years ago
The page is not informed about form filling (no event fired when the form is filled)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5 Firefox fills forms silently. The DOM is not aware of the changing values. For example, I have a login form where I want to immediately react to the change of content of name and password fields. First case: you simply open a page where browser remembers your password and username and they are already there without notice. Second case: you choose from an autocomplete list of name and the password is entered without notice. For example, a formchange event (or another event conforming to the Web Forms 2.0 standard) could be fired. Reproducible: Always Steps to Reproduce: 1. Open a page that has saved some form values. 2. The values are filled. 1. Open a login page that has saved some form values. 2. Choose a username from a list. 3. Password is filled automatically without firing any event. Actual Results: There is no way of knowing that values have changed. Expected Results: Some event should be fired.
Events shouldn't fire fire when JS modifies node values. You could probably watch for DOM mutation events, though.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
What do you mean by "JS modified node values" - there's no user JS running? It's Firefox built-in password manager code that modifies the password field value and an some event (like 'input') must be triggered. Just like when you choose a value from the autocomplete dropdown. See: https://bugzilla.mozilla.org/show_bug.cgi?id=320462
You need to log in before you can comment on or make changes to this bug.