New issue
Advanced search Search tips

Issue 890318 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Check cleaners are correctly created

Project Member Reported by gemene@google.com, Sep 28

Issue description


RemoveUselessCredential function from password_manager_utils.cc create cleaners and insert them in the cleaner runner's queue.

Unittests should be added in password_manager_util_unittest.cc to check that cleaners are correctly created relying on the associated preference of the cleaner.


 
Summary: Check cleaners are correctly created (was: Check cleaners is correctly created)
Components: UI>Browser>Passwords
Labels: -Type-Bug Hotlist-TechnicalDebt Type-Task
Status: Available (was: Untriaged)
To clarify:
the associated preferences for each cleaner record whether it was run. To verify that RemoveUselessCredential attempted to run the correct cleaners, the test only needs to check that it transforms the initial state of the prefs into the expected exit state. There is no need to actually check the result of the clean-ups, that is done by the cleaners' tests (here the PasswordStore can be empty).
Cc: -vabr@chromium.org
vabr going hobby only -> reducing involvement.
Please contact me directly in urgent matters.

Sign in to add a comment