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

Issue 2957953002: Add pinned cert interstitial to chrome://interstitials (Closed)

Created:
3 years, 5 months ago by sperigo
Modified:
3 years, 5 months ago
Reviewers:
lgarron, meacer
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add pinned cert interstitial to chrome://interstitials BUG=642935 TEST=Spin up an instance of Chrome and navigate to chrome://interstitials. Click on "Pinned certificate error." A full page interstitial should appear. Check to make sure the header reads "Privacy error" and the error code is "NET::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN." See also interstitial_ui_browsertest.cc. Review-Url: https://codereview.chromium.org/2957953002 Cr-Commit-Position: refs/heads/master@{#482810} Committed: https://chromium.googlesource.com/chromium/src/+/6022f5947cba1db0d2f7f236d7de307955adf12a

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make pinned certificate error variable name more specific #

Total comments: 7

Patch Set 3 : Address CL comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/security_interstitials/core/browser/resources/list_of_interstitials.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
sperigo
I added a link to the chrome://interstitials page and rendered the pinned certificate interstitial conditionally ...
3 years, 5 months ago (2017-06-26 23:43:54 UTC) #2
lgarron
Looks nice and clean. Could you also do the following? - Add a screenshot on ...
3 years, 5 months ago (2017-06-27 00:56:00 UTC) #3
sperigo
Thank you! Updated all three of these things. On 2017/06/27 00:56:00, lgarron wrote: > Looks ...
3 years, 5 months ago (2017-06-27 18:57:28 UTC) #5
lgarron
LGTM (mod typo) https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui.cc File chrome/browser/ui/webui/interstitials/interstitial_ui.cc (right): https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui.cc#newcode158 chrome/browser/ui/webui/interstitials/interstitial_ui.cc:158: if (type_param == "pinned_cert") { This ...
3 years, 5 months ago (2017-06-27 20:41:45 UTC) #6
meacer
Lgtm https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc File chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc (right): https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc#newcode26 chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc:26: browser()->tab_strip_model()->GetActiveWebContents()->GetTitle()); nit: Not necessary for this CL, but ...
3 years, 5 months ago (2017-06-27 21:10:17 UTC) #7
sperigo
https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui.cc File chrome/browser/ui/webui/interstitials/interstitial_ui.cc (right): https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui.cc#newcode158 chrome/browser/ui/webui/interstitials/interstitial_ui.cc:158: if (type_param == "pinned_cert") { On 2017/06/27 20:41:44, lgarron ...
3 years, 5 months ago (2017-06-27 21:31:27 UTC) #8
sperigo
3 years, 5 months ago (2017-06-27 21:31:30 UTC) #9
meacer
Thanks! https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc File chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc (right): https://codereview.chromium.org/2957953002/diff/20001/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc#newcode26 chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc:26: browser()->tab_strip_model()->GetActiveWebContents()->GetTitle()); On 2017/06/27 21:31:27, sperigo wrote: > On ...
3 years, 5 months ago (2017-06-27 21:32:51 UTC) #10
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/2957953002/40001
3 years, 5 months ago (2017-06-27 22:58:12 UTC) #13
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 00:16:06 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6022f5947cba1db0d2f7f236d7de...

Powered by Google App Engine
This is Rietveld 408576698