Closed Bug 1599315 Opened 5 years ago Closed 5 years ago

Update passwordmgr tests to use setUserInput, ensuring we get an input event for field modifications

Categories

(Toolkit :: Password Manager, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: sfoster, Assigned: sfoster)

References

Details

Attachments

(1 file)

Lots of the passwordmgr tests mutate field value properties directly and then submit the form, assuming this is equivalent to user input.. As of bug 1388674 this will no longer be true. Using setUserInput (at least, if not the synthesize* helpers) generates input and change events necessary to flag a form as user-modified.

Pushed by sfoster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c19a114640d1 Update tests to use setUserInput, ensuring we get an input event for field modifications. r=MattN
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Regressions: 1599398
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: