Fix PasswordManagerTest.ParsingOnSavingMetricRecorded
The test currently passes by accident: it fails to check that a metric has a value. It also has two issues: one is mixing null and non-null drivers, and the other is calling old-parser-only ProvisionallySavePassword instead of OnPasswordFormSubmitted, while at the same time using the new parser. This CL fixes the test: * Activates the check, and * Fixes the issues, so that the test passes. Bug: 907794 Change-Id: Ia24518aa2bae3c0a25db7722c89eb59f70c61ef1 Reviewed-on: https://chromium-review.googlesource.com/c/1350898 Commit-Queue: Vaclav Brozek <vabr@chromium.org> Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Cr-Commit-Position: refs/heads/master@{#611051}
Showing
Please register or sign in to comment