Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: components/password_manager/core/browser/password_form_manager_unittest.cc

Issue 1271283002: Change password form UI for no accounts stored case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cpf_ui
Patch Set: Fix tests Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/password_form_manager_unittest.cc
diff --git a/components/password_manager/core/browser/password_form_manager_unittest.cc b/components/password_manager/core/browser/password_form_manager_unittest.cc
index 6080ff885124868e7bd9562b7b3114739310f56c..5b2d646db19fb2f4c9fa7e6656f3842e9fcc003c 100644
--- a/components/password_manager/core/browser/password_form_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_form_manager_unittest.cc
@@ -499,12 +499,11 @@ TEST_F(PasswordFormManagerTest, TestNewLoginFromNewPasswordElement) {
// By this point, the PasswordFormManager should have promoted the new
// password value to be the current password, and should have wiped the
- // password element names: they are likely going to be different on a login
+ // password element name: it is likely going to be different on a login
// form, so it is not worth remembering them.
EXPECT_EQ(credentials.new_password_value,
GetPendingCredentials(&manager)->password_value);
EXPECT_TRUE(GetPendingCredentials(&manager)->password_element.empty());
- EXPECT_TRUE(GetPendingCredentials(&manager)->new_password_element.empty());
EXPECT_TRUE(GetPendingCredentials(&manager)->new_password_value.empty());
}

Powered by Google App Engine
This is Rietveld 408576698