Infer form submission after DOMDocFetchSuccess event and form removal in FormAutofill
Categories
(Toolkit :: Form Autofill, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: janika, Assigned: janika)
References
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
We also want to capture addresses that are submitted by a fetch or xhr request instead of a standard form submission event. Usually as a next step after a successful fetch or xhr request, the address form is removed from the DOM.
The two implementation steps are:
- P1. Add a listener for the
DOMDocFetchSuccess
event when the user focuses in an address field - P2. Infer form submission when the address form is removed
Assignee | ||
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Assignee | ||
Comment 2•11 months ago
|
||
Depends on D193102
Assignee | ||
Comment 3•10 months ago
|
||
Depends on D193308
Assignee | ||
Comment 4•10 months ago
|
||
Test that we infer a form submission after a successful xhr/fetch request followed by a form removal.
Then the address fields are captured and stored.
Depends on D193633
Assignee | ||
Comment 5•10 months ago
|
||
Depends on D194234
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Assignee | ||
Comment 6•10 months ago
|
||
In P1 to P4 the FormAutofill starts listening to the DOMDocFetchSuccess event to detect form submissions.
FormAutofill and LoginManager will both use SetNotifyFetchSuccess to initiate the document to fire the event.
The LoginManager now manually adds the event listener, instead of always listening and acting on it.
This prevents interference between the LoginManager and FormAutofill.
Updated•10 months ago
|
Comment 8•10 months ago
|
||
Backed out 7 changesets (Bug 1863801, Bug 1865876) for causing failures in browser_creditCard_doorhanger_iframe.js CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=438520340&repo=autoland&lineNumber=10737
Backout: https://hg.mozilla.org/integration/autoland/rev/68d282cd2e440c68e3ee3b7212b0ec80ff165556
Assignee | ||
Updated•10 months ago
|
Comment 10•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b0e2e4d652a
https://hg.mozilla.org/mozilla-central/rev/72f0587fda19
https://hg.mozilla.org/mozilla-central/rev/d6e17dcf00a4
https://hg.mozilla.org/mozilla-central/rev/157fc7d2c5da
https://hg.mozilla.org/mozilla-central/rev/12253bf8fb88
Comment 11•10 months ago
|
||
Comment 12•10 months ago
|
||
bugherder |
Description
•