Bug 1900009 - Dispatch DOMPossibleUsernameInputAdded event for valid text and email inputs. r=dimi,edgar

Differential Revision: https://phabricator.services.mozilla.com/D214821
This commit is contained in:
Ryan Safaeian
2024-07-12 17:38:48 +00:00
parent 52f40ac5fd
commit ccd363c347
12 changed files with 290 additions and 132 deletions

View File

@@ -57,7 +57,8 @@ class HTMLFormElement final : public nsGenericHTMLElement {
/** Whether we already dispatched a DOMFormHasPassword event or not */
bool mHasPendingPasswordEvent = false;
/** Whether we already dispatched a DOMFormHasPossibleUsername event or not */
/** Whether we already dispatched a DOMPossibleUsernameInputAdded event or not
*/
bool mHasPendingPossibleUsernameEvent = false;
// nsIContent