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

Issue 2669123003: iOS: Mark HTTP pages with credit card fields with an omnibox icon. (Closed)

Created:
3 years, 10 months ago by lgarron
Modified:
3 years, 10 months ago
CC:
browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, estark, Eugene But (OOO till 7-30), mathp+autofillwatch_chromium.org, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

iOS: Mark HTTP pages with credit card fields with an omnibox icon. BUG=648839 ================================ TEST=Use an iPhone, not an iPad. First, enable the proper flag: -------------------------------- 1. Open the Settings app 2. Scroll to Chrome Beta/Dev/Canary and press 3. Scroll down to Experimental Settings and press 4. Scroll to EXTRA FLAGS (ONE PER LINE) 5. Toggle "Append Extra Flags" to ON 6. Set Flag1 to "--mark-non-secure-as=show-non-secure-passwords-cc-ui" (without the quotes) -------------------------------- Test 3 URLs: 1) Visit https://badssl.com/input/credit-card/ and verify that the omnibox security has a green lock security indicator to the left of the URL. 2) Visit http://http-credit-card.badssl.com/ and verify that the omnibox security has a grey info icon ⓘ security indicator to the left of the URL. 3) Visit http://http.badssl.com/ and verify that the omnibox does *not* have a security indicator to the left of the URL. -------------------------------- 4) Set Flag1 (see above) to "--mark-non-secure-as=neutral" (without the quotes) and check that http://http-credit-card.badssl.com/ does *not* have a security indicator to the left of the URL. ================================ Review-Url: https://codereview.chromium.org/2669123003 Cr-Commit-Position: refs/heads/master@{#448193} Committed: https://chromium.googlesource.com/chromium/src/+/8965c33248c51c71c273b5957344a974142a6914

Patch Set 1 #

Patch Set 2 : iOS: Mark HTTP pages with credit card fields with an omnibox icon. #

Patch Set 3 : iOS: Mark HTTP pages with credit card fields with an omnibox icon. #

Patch Set 4 : Remove test logging statement. #

Patch Set 5 : Add CRWWebController test. #

Total comments: 8

Patch Set 6 : iOS: Mark HTTP pages with credit card fields with an omnibox icon. #

Patch Set 7 : Update comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -3 lines) Patch
M components/autofill/ios/browser/autofill_driver_ios.mm View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M ios/chrome/browser/autofill/autofill_controller_unittest.mm View 1 2 3 4 5 3 chunks +56 lines, -0 lines 0 comments Download
M ios/chrome/browser/ssl/ios_security_state_tab_helper.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/public/ssl_status.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state.h View 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/public/web_state/web_state.h View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.h View 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
lgarron
mathp@: could you review autofill_driver_ios.mm? eugenebut@: could you review the rest?
3 years, 10 months ago (2017-02-03 03:18:39 UTC) #2
lgarron
On 2017/02/03 at 03:18:39, lgarron wrote: > mathp@: could you review autofill_driver_ios.mm? > eugenebut@: could ...
3 years, 10 months ago (2017-02-03 03:22:33 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2669123003/diff/50011/components/autofill/ios/browser/autofill_driver_ios.mm File components/autofill/ios/browser/autofill_driver_ios.mm (right): https://codereview.chromium.org/2669123003/diff/50011/components/autofill/ios/browser/autofill_driver_ios.mm#newcode9 components/autofill/ios/browser/autofill_driver_ios.mm:9: #import "ios/web/public/navigation_item.h" You do need origin_util.h include, but ...
3 years, 10 months ago (2017-02-03 19:24:16 UTC) #9
lgarron
https://codereview.chromium.org/2669123003/diff/50011/components/autofill/ios/browser/autofill_driver_ios.mm File components/autofill/ios/browser/autofill_driver_ios.mm (right): https://codereview.chromium.org/2669123003/diff/50011/components/autofill/ios/browser/autofill_driver_ios.mm#newcode9 components/autofill/ios/browser/autofill_driver_ios.mm:9: #import "ios/web/public/navigation_item.h" On 2017/02/03 at 19:24:16, Eugene But wrote: ...
3 years, 10 months ago (2017-02-04 00:28:35 UTC) #10
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2669123003/diff/50011/ios/chrome/browser/autofill/autofill_controller_unittest.mm File ios/chrome/browser/autofill/autofill_controller_unittest.mm (right): https://codereview.chromium.org/2669123003/diff/50011/ios/chrome/browser/autofill/autofill_controller_unittest.mm#newcode599 ios/chrome/browser/autofill/autofill_controller_unittest.mm:599: TEST_F(AutofillControllerTest, HTTPCreditCard) { On 2017/02/04 00:28:35, lgarron wrote: > ...
3 years, 10 months ago (2017-02-04 01:29:17 UTC) #11
Mathieu
autofill_driver_ios lgtm
3 years, 10 months ago (2017-02-04 02:19:19 UTC) #12
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/2669123003/110001
3 years, 10 months ago (2017-02-06 00:19:59 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 00:34:10 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/8965c33248c51c71c273b5957344...

Powered by Google App Engine
This is Rietveld 408576698