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

Unified Diff: components/autofill/core/browser/autofill_manager_unittest.cc

Issue 864873002: Autofill - don't respect autocomplete="off" for mac address book or (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac test expectation Created 5 years, 11 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
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_manager_unittest.cc
diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc
index 246c26d218357eaebe6abc82495b2e4b1ed2e7a9..3bfc805d9ecbd20cb2381c709fd177810368cd60 100644
--- a/components/autofill/core/browser/autofill_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_manager_unittest.cc
@@ -2826,7 +2826,7 @@ TEST_F(AutofillManagerTest, AccessAddressBookPrompt) {
autofill_manager_->ShouldShowAccessAddressBookSuggestion(form, field));
field.should_autocomplete = false;
- EXPECT_FALSE(
+ EXPECT_TRUE(
autofill_manager_->ShouldShowAccessAddressBookSuggestion(form, field));
}
#endif // defined(OS_MACOSX) && !defined(OS_IOS)
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698