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

Issue 137893009: [Password Autofill] Catch XHR submitted forms where onsubmit() wasn't called. (Closed)

Created:
6 years, 11 months ago by Garrett Casto
Modified:
6 years, 11 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[Password Autofill] Catch XHR submitted forms where onsubmit() isn't called. This fixes a bug where the password manager would fail to trigger on the registration form for Facebook.com. The password manager will still fail for synchonous XHR, but this should be less prevalent. BUG=43219 R=vabr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246421

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix test #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -15 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 2 chunks +20 lines, -6 lines 0 comments Download
M chrome/test/data/password/password_form.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 1 chunk +26 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Garrett Casto
I'm a little worried about this being slow on these types of commits, but we'll ...
6 years, 11 months ago (2014-01-15 21:33:54 UTC) #1
vabr (Chromium)
LGTM, but please make sure that NoPromptIfLinkClicked tests what you want (see my comment). Regarding ...
6 years, 11 months ago (2014-01-16 09:22:09 UTC) #2
Garrett Casto
https://codereview.chromium.org/137893009/diff/1/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/137893009/diff/1/chrome/browser/password_manager/password_manager_browsertest.cc#newcode307 chrome/browser/password_manager/password_manager_browsertest.cc:307: // Verify that if XHR navigation and the form ...
6 years, 11 months ago (2014-01-16 22:23:59 UTC) #3
vabr (Chromium)
Still LGTM. Thanks! Vacalv https://codereview.chromium.org/137893009/diff/1/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/137893009/diff/1/components/autofill/content/renderer/password_autofill_agent.cc#newcode504 components/autofill/content/renderer/password_autofill_agent.cc:504: for (size_t i = 0; ...
6 years, 11 months ago (2014-01-17 09:28:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/137893009/60001
6 years, 11 months ago (2014-01-17 20:39:15 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=248277
6 years, 11 months ago (2014-01-17 22:27:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/137893009/60001
6 years, 11 months ago (2014-01-22 19:34:49 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=250014
6 years, 11 months ago (2014-01-22 21:16:08 UTC) #8
Garrett Casto
6 years, 11 months ago (2014-01-22 21:45:42 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r246421 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698