Closed Bug 1773832 Opened 2 years ago Closed 2 years ago

Refactor LoginManagerChild

Categories

(Toolkit :: Password Manager, task, P1)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: serg, Assigned: serg)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxcm-ios-parity])

Attachments

(18 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
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
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
  • move more code from LoginManagerChild to LoginFormState
  • #mark private members
  • split mega-switch to dedicated function calls
Assignee: nobody → sgalich
Status: NEW → ASSIGNED
Attachment #9280844 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: isProbablyAnEmailField r=dimi! → Bug 1773832 - Refactor LoginManagerChild: isProbablyAnEmailField r=dimi!
Attachment #9280845 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: isProbablyAUsernameField r=dimi! → Bug 1773832 - Refactor LoginManagerChild: isProbablyAUsernameField r=dimi!
Attachment #9280846 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: isProbablyAUsernameLoginForm r=dimi! → Bug 1773832 - Refactor LoginManagerChild: isProbablyAUsernameLoginForm r=dimi!
Attachment #9280847 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _isLoginAlreadyFilled r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _isLoginAlreadyFilled r=dimi!
Attachment #9280848 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _togglePasswordFieldMasking r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _togglePasswordFieldMasking r=dimi!
Attachment #9280849 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _treatAsGeneratedPasswordField r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _treatAsGeneratedPasswordField r=dimi!
Attachment #9280850 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _formHasModifiedFields r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _formHasModifiedFields r=dimi!
Attachment #9280851 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _stopTreatingAsGeneratedPasswordField r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _stopTreatingAsGeneratedPasswordField r=dimi!
Attachment #9280852 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: onFocus & #onUserNameFocus r=dimi! → Bug 1773832 - Refactor LoginManagerChild: onFocus & #onUserNameFocus r=dimi!
Attachment #9280853 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _highlightFilledField r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _highlightFilledField r=dimi!
Attachment #9280854 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: getUsernameFieldFromUsernameOnlyForm r=dimi! → Bug 1773832 - Refactor LoginManagerChild: getUsernameFieldFromUsernameOnlyForm r=dimi!
Attachment #9280855 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _getPasswordFields r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _getPasswordFields r=dimi!
Attachment #9280856 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _compareAndUpdatePreviouslySentValues r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _compareAndUpdatePreviouslySentValues r=dimi!
Attachment #9280857 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _fillConfirmFieldWithGeneratedPassword r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _fillConfirmFieldWithGeneratedPassword r=dimi!
Attachment #9280858 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: _getFormFields r=dimi! → Bug 1773832 - Refactor LoginManagerChild: _getFormFields r=dimi!
Attachment #9280859 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: getUserNameAndPasswordFields r=dimi! → Bug 1773832 - Refactor LoginManagerChild: getUserNameAndPasswordFields r=dimi!
Attachment #9280860 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: getFieldContext r=dimi! → Bug 1773832 - Refactor LoginManagerChild: getFieldContext r=dimi!
Attachment #9280861 - Attachment description: WIP: Bug 1773832 - Refactor LoginManagerChild: #onUseGeneratedPassword r=dimi! → Bug 1773832 - Refactor LoginManagerChild: #onUseGeneratedPassword r=dimi!
Severity: -- → N/A
Priority: -- → P1
Pushed by sgalich@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8c996fae1d3 Refactor LoginManagerChild: isProbablyAnEmailField r=dimi https://hg.mozilla.org/integration/autoland/rev/805b3a7e5740 Refactor LoginManagerChild: isProbablyAUsernameField r=dimi https://hg.mozilla.org/integration/autoland/rev/6dfd353118e2 Refactor LoginManagerChild: isProbablyAUsernameLoginForm r=dimi https://hg.mozilla.org/integration/autoland/rev/968562b082d6 Refactor LoginManagerChild: _isLoginAlreadyFilled r=dimi https://hg.mozilla.org/integration/autoland/rev/47ad1e6a2a17 Refactor LoginManagerChild: _togglePasswordFieldMasking r=dimi https://hg.mozilla.org/integration/autoland/rev/a44ec233a0b8 Refactor LoginManagerChild: _treatAsGeneratedPasswordField r=dimi https://hg.mozilla.org/integration/autoland/rev/93c13f9f507d Refactor LoginManagerChild: _formHasModifiedFields r=dimi https://hg.mozilla.org/integration/autoland/rev/c0fd8377f368 Refactor LoginManagerChild: _stopTreatingAsGeneratedPasswordField r=dimi https://hg.mozilla.org/integration/autoland/rev/45795b259daa Refactor LoginManagerChild: onFocus & #onUserNameFocus r=dimi https://hg.mozilla.org/integration/autoland/rev/74b5dcda1246 Refactor LoginManagerChild: _highlightFilledField r=dimi https://hg.mozilla.org/integration/autoland/rev/21152bf61b4c Refactor LoginManagerChild: getUsernameFieldFromUsernameOnlyForm r=dimi https://hg.mozilla.org/integration/autoland/rev/d43e3c803e0d Refactor LoginManagerChild: _getPasswordFields r=dimi https://hg.mozilla.org/integration/autoland/rev/dbf1779b90b0 Refactor LoginManagerChild: _compareAndUpdatePreviouslySentValues r=dimi https://hg.mozilla.org/integration/autoland/rev/421387e1ea53 Refactor LoginManagerChild: _fillConfirmFieldWithGeneratedPassword r=dimi https://hg.mozilla.org/integration/autoland/rev/f51a497322f9 Refactor LoginManagerChild: _getFormFields r=dimi https://hg.mozilla.org/integration/autoland/rev/06f49f624d16 Refactor LoginManagerChild: getUserNameAndPasswordFields r=dimi https://hg.mozilla.org/integration/autoland/rev/227c71674f66 Refactor LoginManagerChild: getFieldContext r=dimi https://hg.mozilla.org/integration/autoland/rev/1316552a367c Refactor LoginManagerChild: #onUseGeneratedPassword r=dimi
Whiteboard: [fxcm-ios-parity]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: