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

Issue 1159513002: Allow autofill in iframe inside page of same origin (Closed)

Created:
5 years, 7 months ago by xunlu
Modified:
5 years, 6 months ago
Reviewers:
Garrett Casto
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, vabr+watchlist_chromium.org, browser-components-watch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, rouslan+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow autofill in iframe inside page of same origin Previously password manager will not autofill in iframe regardless of its origin. This change will allow autofill in iframes that have the same origin as the enclosing page. BUG=345371 Committed: https://crrev.com/4bb54b508f665bfaaa3b0c64ee4cc1d28f138bec Cr-Commit-Position: refs/heads/master@{#332299}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address CR comment #

Total comments: 16

Patch Set 3 : Address comment #

Patch Set 4 : Update PasswordAutofillAgentTest.IframeNoFillTest #

Total comments: 2

Patch Set 5 : Remove PasswordAutofillAgentTest.IframeNoFillTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -73 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 8 chunks +201 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 1 chunk +0 lines, -66 lines 0 comments Download
A chrome/test/data/password/crossite_iframe_content.html View 1 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/test/data/password/password_form_in_crosssite_iframe.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/test/data/password/password_form_in_same_origin_iframe.html View 1 chunk +8 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 1 chunk +13 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Garrett Casto
Looks really good for a first CL :). Mostly small changes and style nits. https://codereview.chromium.org/1159513002/diff/1/chrome/browser/password_manager/password_manager_browsertest.cc ...
5 years, 7 months ago (2015-05-26 20:31:38 UTC) #2
xunlu
Comments addressed.
5 years, 7 months ago (2015-05-27 23:03:17 UTC) #5
Garrett Casto
Almost there, just a few minor changes. Note that generally when you respond to code ...
5 years, 6 months ago (2015-05-28 18:08:19 UTC) #6
xunlu
Address comments https://codereview.chromium.org/1159513002/diff/50001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1159513002/diff/50001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode1978 chrome/browser/password_manager/password_manager_browsertest.cc:1978: std::string submit = base::StringPrintf( On 2015/05/28 18:08:18, ...
5 years, 6 months ago (2015-05-28 22:28:16 UTC) #9
Garrett Casto
LGTM
5 years, 6 months ago (2015-05-29 20:47:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159513002/110001
5 years, 6 months ago (2015-06-01 18:54:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/62740)
5 years, 6 months ago (2015-06-01 20:15:35 UTC) #14
xunlu
Update PasswordAutofillAgentTest.IframeNoFillTest
5 years, 6 months ago (2015-06-01 20:50:18 UTC) #15
Garrett Casto
lgtm https://codereview.chromium.org/1159513002/diff/130001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/1159513002/diff/130001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode821 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:821: // interaction with the form. So I would ...
5 years, 6 months ago (2015-06-01 22:48:52 UTC) #16
xunlu
Remove PasswordAutofillAgentTest.IframeNoFillTest https://codereview.chromium.org/1159513002/diff/130001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/1159513002/diff/130001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode821 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:821: // interaction with the form. On 2015/06/01 ...
5 years, 6 months ago (2015-06-01 23:41:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159513002/150001
5 years, 6 months ago (2015-06-01 23:45:28 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:150001)
5 years, 6 months ago (2015-06-02 01:18:09 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 01:18:52 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4bb54b508f665bfaaa3b0c64ee4cc1d28f138bec
Cr-Commit-Position: refs/heads/master@{#332299}

Powered by Google App Engine
This is Rietveld 408576698