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

Issue 2362523003: Add (some) password detection for HTTP-bad (Closed)

Created:
4 years, 3 months ago by estark
Modified:
4 years, 2 months ago
Reviewers:
felt, engedy, jam
CC:
chromium-reviews, creis+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add (some) password detection for HTTP-bad This CL adds WebContents methods for setting the new SSLStatus flags to record a password or credit card field on an HTTP page. It also (roughly) integrates with the ContentPasswordManagerDriver code to call the new WebContents methods. The integration as written at present will only set the SSLStatus flags whenever a password field is parsed; eventually we will refine that to set the flags whenever a password field is visible on the page (https://codereview.chromium.org/2378503002/). BUG=647560 Committed: https://crrev.com/703f1b43a576ef25b5e267beaaba5f6ef70df08f Cr-Commit-Position: refs/heads/master@{#424251}

Patch Set 1 #

Patch Set 2 : add browser tests #

Patch Set 3 : rebase #

Patch Set 4 : fix dcheck failure, remove log statement #

Patch Set 5 : another dcheck failure #

Patch Set 6 : rebase #

Patch Set 7 : trigger the downgrade from OnPasswordFormsParsed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -5 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 4 5 6 3 chunks +218 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A chrome/test/data/password/invisible_password.html View 1 1 chunk +10 lines, -0 lines 0 comments Download
A + chrome/test/data/password/simple_password.html View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/password/simple_password_in_https_iframe.html View 1 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/data/password/simple_password_in_iframe.html View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 2 3 4 5 2 chunks +22 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 3 chunks +14 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 4 chunks +24 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (24 generated)
estark
felt, jam: I wanted to get some preliminary feedback on this unfinished CL to hook ...
4 years, 3 months ago (2016-09-21 23:15:39 UTC) #2
jam
lgtm I think WebContents is a fine place to put them, since the goal is ...
4 years, 3 months ago (2016-09-22 03:46:36 UTC) #3
felt
I defer to jam on this; I don't have a good intuition about the zen ...
4 years, 3 months ago (2016-09-22 16:28:10 UTC) #4
estark
Ok, thanks both. I added browser tests to make this a real CL. I'm also ...
4 years, 3 months ago (2016-09-22 21:35:47 UTC) #9
engedy
> Am I understanding correctly that > ContentPasswordManagerDriver::PasswordFormsRendered() is called with the > *visible* password ...
4 years, 3 months ago (2016-09-23 13:45:35 UTC) #24
estark
On 2016/09/23 13:45:35, engedy wrote: > > Am I understanding correctly that > > ContentPasswordManagerDriver::PasswordFormsRendered() ...
4 years, 3 months ago (2016-09-24 06:12:23 UTC) #25
estark
Update: I was waiting for https://codereview.chromium.org/2378503002/ to land before landing this CL, because that would ...
4 years, 2 months ago (2016-10-10 20:11:19 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2362523003/120001
4 years, 2 months ago (2016-10-10 20:13:49 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-10 21:37:37 UTC) #32
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/703f1b43a576ef25b5e267beaaba5f6ef70df08f Cr-Commit-Position: refs/heads/master@{#424251}
4 years, 2 months ago (2016-10-10 21:39:14 UTC) #34
engedy
4 years, 2 months ago (2016-10-11 08:38:33 UTC) #35
Message was sent while issue was closed.
Sounds good, thanks for the heads-up!

Powered by Google App Engine
This is Rietveld 408576698