diff options
author | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 19:25:57 +0000 |
---|---|---|
committer | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 19:25:57 +0000 |
commit | 073f5c17903b727c2e3eed4d637d737943b8e95c (patch) | |
tree | 2eb22056a95f2f1feb38e90e8c50af6a92430c24 /base/callback_unittest.cc | |
parent | 6739bc6e6b9d7b66e011b3f6a26c9394aec2e268 (diff) | |
download | chromium_src-073f5c17903b727c2e3eed4d637d737943b8e95c.zip chromium_src-073f5c17903b727c2e3eed4d637d737943b8e95c.tar.gz chromium_src-073f5c17903b727c2e3eed4d637d737943b8e95c.tar.bz2 |
Reland: Fix and re-enable passwords sync perf test on Mac
The password sync perf test has been disabled on Mac for quite a while, because of the keychain prompts that used to pop up. The tests were made to use a MockKeychain implementation with http://codereview.chromium.org/9021004.
Yet, the tests were failing when several passwords were added because of a bug in the keychain, that would treat two usernames / domains / paths with the same prefix as equal, and therefore, treat them like duplicates in the keychain.
This patch fixes the bug by adding more stringent checks to the logic in MockKeychain that determines whether a password being added is in fact a duplicate or not. It also re-enables the perf test that was previously disabled on Mac.
BUG=105999
TEST=PasswordsSyncPerfTest.P0
Originally committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116002
Reverted (due to failure in Win): http://codereview.chromium.org/8968037
Review URL: http://codereview.chromium.org/9052006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback_unittest.cc')
0 files changed, 0 insertions, 0 deletions