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

Unified Diff: chrome/renderer/autofill/password_autofill_agent_browsertest.cc

Issue 1159513002: Allow autofill in iframe inside page of same origin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update PasswordAutofillAgentTest.IframeNoFillTest Created 5 years, 7 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: chrome/renderer/autofill/password_autofill_agent_browsertest.cc
diff --git a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
index 7ff193846a120f9aac107912a4ffc5da4ecbda4f..d67f09773e46744dc6032e2af9378610238d7f28 100644
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
@@ -866,7 +866,7 @@ TEST_F(PasswordAutofillAgentTest, IframeNoFillTest) {
ASSERT_FALSE(username_element.isNull());
CheckTextFieldsStateForElements(
- username_input, "", false, password_input, "", false, false);
+ username_input, kAliceUsername, true, password_input, "", true, false);
// Simulate the user typing in the username in the iframe which should cause
// an autofill.

Powered by Google App Engine
This is Rietveld 408576698