Closed Bug 1895467 Opened 1 year ago Closed 1 year ago

Undo the FormHandler integration with the FormHistoryChild

Categories

(Toolkit :: Form Autofill, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: janika, Assigned: janika)

References

Details

(Whiteboard: [fxcm-addr-compatibility] )

Attachments

(1 file)

FormHistory is currently not compatible with how the FormHandler is listening to form submissions so we are undoing the FormHandler integration in FormHistory from Bug 1881501.

Why?
The FormHandlerChild starts listening to form submission after it is created. But Bug 1884632 changes when the FormHandlerChild is created.
Now the FormHandlerChild is created when the FormAutofillChild or the LoginManagerChild register their interest in form submissions.
This means FormHistoryChild would need to register its interest as well, thus it needs to exist before the form submission occurs. And this causes a problem. Because in some cases, the FormHistoryChild doesn't exist before the form submission, so it cannot register its interest in time. Before introducing the FormHandler in Bug 1881501 the form submission was what created the FormHistoryChild and let it capture the submitted values.
This incompatibility could cause the FormHistoryChild to miss form submissions.

That's why we let the FormHistoryChild to directly listen for DOMFormBeforeSubmit again.

Summary: Undo the FormHandler integration with the FormHandler → Undo the FormHandler integration with the FormHistoryChild
Whiteboard: [fxcm-addr-compatibility]
Attachment #9400442 - Attachment description: Bug 1895467 - Undo the FormHandler integration with FormHistory c=#credential-management-reviewers → Bug 1895467 - P0. Undo the FormHandler integration with FormHistory c=#credential-management-reviewers
Attachment #9400442 - Attachment description: Bug 1895467 - P0. Undo the FormHandler integration with FormHistory c=#credential-management-reviewers → Bug 1895467 - Undo the FormHandler integration with FormHistory r=#credential-management-reviewers
Pushed by jneuberger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26268f4f3f9d Undo the FormHandler integration with FormHistory r=credential-management-reviewers,dimi

Backed out for causing gv-junit-fis failures

Flags: needinfo?(jneuberger)

Replied in bug 1884632.

Flags: needinfo?(jneuberger)
Pushed by jneuberger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5bbdb42d93d Undo the FormHandler integration with FormHistory r=credential-management-reviewers,dimi
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: