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

Issue 488083002: [Password Manager] Fix to recognise failed login attempt for sites where content server pushes new … (Closed)

Created:
6 years, 4 months ago by Pritam Nikam
Modified:
6 years, 3 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@branch_autofill_todo_20140813
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Fix to recognise failed login attempt for sites where content server pushes new login form. With current implementation chromium browser does not recognize the failed login attempt for sites where content server pushes different login form (e.g. http://www.xda-developers.com), and apparently it assumes a login success and offers to save an incorrect password. With this patch in addition to submitted form's action URL to that of visible form's action URL it ignores the schemes for HTTP or HTTPS URLs as well. BUG=400769 Committed: https://crrev.com/0dbb996819103f467678db593e57f2d1fc7467ca Cr-Commit-Position: refs/heads/master@{#292877}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Incorporated review comments and added browser_tests. #

Total comments: 15

Patch Set 3 : Incorporated review comments. #

Patch Set 4 : Incorporatd review comments and added unit-tests #

Total comments: 46

Patch Set 5 : Incorporated review comments. #

Total comments: 10

Patch Set 6 : Incorporated review comments. #

Total comments: 4

Patch Set 7 : Updated as per review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -4 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 6 3 chunks +59 lines, -0 lines 0 comments Download
A chrome/test/data/password/done_and_separate_login_form.html View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/test/data/password/separate_login_form_with_onload_submit_script.html View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 2 chunks +22 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (1 generated)
Pritam Nikam
Dear vabr & Garrett, Please take a look.
6 years, 4 months ago (2014-08-20 12:54:17 UTC) #1
vabr (Chromium)
Hi Pritam Nikam, I'm a bit concerned that this might break some legitimate use-cases. Also, ...
6 years, 4 months ago (2014-08-20 14:23:02 UTC) #2
Pritam Nikam
On 2014/08/20 14:23:02, vabr (Chromium) wrote: > Hi Pritam Nikam, > > I'm a bit ...
6 years, 4 months ago (2014-08-20 16:17:20 UTC) #3
Pritam Nikam
Thanks Vaclav for review. May be for this particular web-page we can ignore it's schema ...
6 years, 4 months ago (2014-08-20 18:21:42 UTC) #4
vabr (Chromium)
(+jww for a security question below) Hi Pritam Nikam, I agree that for the "failed ...
6 years, 4 months ago (2014-08-21 06:51:05 UTC) #5
Pritam Nikam
Thanks Vaclav for your inputs. I've added a new patch for review. Please have a ...
6 years, 4 months ago (2014-08-21 13:51:44 UTC) #6
vabr (Chromium)
Hi Pritam Nikam, Thanks for the update. I'm not convinced that the check should be ...
6 years, 4 months ago (2014-08-21 14:54:13 UTC) #7
Pritam Nikam
Thanks Vaclav for your inputs. Currently if we don't ignore cases, GURL comparisons failing and ...
6 years, 4 months ago (2014-08-21 16:49:21 UTC) #8
jww
https://codereview.chromium.org/488083002/diff/20001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/488083002/diff/20001/components/password_manager/core/browser/password_manager.cc#newcode450 components/password_manager/core/browser/password_manager.cc:450: CompareURLContentsEqualIgnoreCase( On 2014/08/21 16:49:21, Pritam Nikam wrote: > On ...
6 years, 4 months ago (2014-08-21 19:19:13 UTC) #9
vabr (Chromium)
Hi Pritam Nikam, On 2014/08/21 16:49:21, Pritam Nikam wrote: > Thanks Vaclav for your inputs. ...
6 years, 4 months ago (2014-08-22 11:24:32 UTC) #10
Pritam Nikam
Thanks Vaclav for review comments. I've incorporated review comments in patch set #4. PTAL! Thanks!
6 years, 3 months ago (2014-08-26 05:55:33 UTC) #11
Pritam Nikam
Patchset #4 (id:60001) has been deleted
6 years, 3 months ago (2014-08-26 05:56:03 UTC) #12
Pritam Nikam
Patchset #4 (id:80001) has been deleted
6 years, 3 months ago (2014-08-26 06:07:37 UTC) #13
vabr (Chromium)
Hi Pritam Nikam, Thanks for adding the tests! I like the structure now, but please ...
6 years, 3 months ago (2014-08-26 09:42:59 UTC) #14
Pritam Nikam
Thanks Vaclav for your review inputs. For https pages, this fails in ExecuteScript() as it's ...
6 years, 3 months ago (2014-08-26 12:41:34 UTC) #15
vabr (Chromium)
Thanks, Pritam Nikam. LGTM once you address the comments below. I'm not sure why ExecuteScript ...
6 years, 3 months ago (2014-08-27 11:51:47 UTC) #16
Pritam Nikam
Thanks Vaclav for inputs! Added new patch (#6) for review. PTAL! Thanks!
6 years, 3 months ago (2014-08-30 08:26:19 UTC) #17
Pritam Nikam
Thanks Vaclav for inputs! In my opinion https to http test need to revisit in ...
6 years, 3 months ago (2014-08-30 10:16:20 UTC) #18
vabr (Chromium)
LGTM with optional comments about comments :). Thanks for fixing this bug! Vaclav https://codereview.chromium.org/488083002/diff/140001/chrome/browser/password_manager/password_manager_browsertest.cc File ...
6 years, 3 months ago (2014-09-01 08:39:39 UTC) #19
Pritam Nikam
Thanks Vaclav for inputs. Updated as per your inputs PTAL. Thanks! https://codereview.chromium.org/488083002/diff/140001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): ...
6 years, 3 months ago (2014-09-01 10:53:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pritam.nikam@samsung.com/488083002/160001
6 years, 3 months ago (2014-09-01 10:55:28 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:160001) as 260706a4f45d69521b4072d90ff99ec23d9e355b
6 years, 3 months ago (2014-09-01 15:32:58 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:17:01 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0dbb996819103f467678db593e57f2d1fc7467ca
Cr-Commit-Position: refs/heads/master@{#292877}

Powered by Google App Engine
This is Rietveld 408576698