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

Issue 902893003: Do not save passwords after back-navigation (Closed)

Created:
5 years, 10 months ago by vabr (Chromium)
Modified:
5 years, 10 months ago
Reviewers:
Garrett Casto
CC:
chromium-reviews, gcasto+watchlist_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

Do not save passwords after back-navigation PasswordManager::IsSavingEnabledForCurrentPage should check, whether the last navigation was not going back in the tab history. It is unlikely that the user is submitting a password this way. This CL ensures this by extending the PasswordManagerClient with a NavigatedThroughBackButton method. BUG=455630 Committed: https://crrev.com/2d2cdf9973bc6cb2502d074fac08c8a51bb81926 Cr-Commit-Position: refs/heads/master@{#317563}

Patch Set 1 #

Patch Set 2 : Fix #

Patch Set 3 : Rebased test, removed rest #

Patch Set 4 : Fix in renderer #

Patch Set 5 : Just rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/test/data/password/dummy_submit.html View 1 chunk +9 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
vabr (Chromium)
Hi Garrett, How does this look to you? Cheers, Vaclav
5 years, 10 months ago (2015-02-06 18:13:49 UTC) #2
vabr (Chromium)
Hi Garrett, A friendly ping. :) Cheers, Vaclav On 2015/02/06 18:13:49, vabr (Chromium) wrote: > ...
5 years, 10 months ago (2015-02-10 10:00:17 UTC) #3
Garrett Casto
I would think that the right way to go about fixing this would be to ...
5 years, 10 months ago (2015-02-11 08:47:41 UTC) #4
vabr (Chromium)
Thanks Garrett, Showing it into renderer made the whole thing much simpler. PTAL (but don't ...
5 years, 10 months ago (2015-02-13 15:42:20 UTC) #5
Garrett Casto
lgtm
5 years, 10 months ago (2015-02-13 17:50:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902893003/80001
5 years, 10 months ago (2015-02-23 09:54:08 UTC) #9
vabr (Chromium)
On 2015/02/23 09:52:27, vabr (Chromium) wrote: > New patchsets have been uploaded after l-g-t-m from ...
5 years, 10 months ago (2015-02-23 10:00:22 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-23 10:57:22 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 10:57:48 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2d2cdf9973bc6cb2502d074fac08c8a51bb81926
Cr-Commit-Position: refs/heads/master@{#317563}

Powered by Google App Engine
This is Rietveld 408576698