+2
−2
Loading
This patch does the following: 1. Use `focusUpdateSubmitForm` utility function 2. Use `waitForAutofill` utility function instead of using arbitary timeout to wait for autofill result 3. Use `openPopupForSubframe` utility function instead of only using `synthesizeKey`. This ensures the next key event is triggered after the popup is opened. 4. Add "autofill-clear-button" to `runAndWaitForAutocompletePopupOpen` so "Clear Autofill Form" popup is recognized by the utility function. Differential Revision: https://phabricator.services.mozilla.com/D144878