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

Issue 1207943002: Trigger DidChangeVisisbleSSLState() after OverrideEntry() (Closed)

Created:
5 years, 6 months ago by estark
Modified:
5 years, 5 months ago
Reviewers:
msw, felt, nasko
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org, felt
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Trigger DidChangeVisisbleSSLState() after OverrideEntry() While SSLBlockingPage::OverrideEntry() changes the visible SSL status of the page, WebContentsImpl::DidChangeVisibleSSLState() never gets called. This breaks the devtools security panel on interstitials and has caused other bugs in the past (e.g. crbug.com/474795). BUG=503112 Committed: https://crrev.com/c95446759f5c9eff845f36c830b1ef87b768c3fa Cr-Commit-Position: refs/heads/master@{#336683}

Patch Set 1 #

Total comments: 11

Patch Set 2 : nasko comments #

Patch Set 3 : rebase #

Patch Set 4 : test tweak #

Patch Set 5 : test fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -16 lines) Patch
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 4 chunks +62 lines, -16 lines 1 comment Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
estark
nasko, could you PTAL? The problem this is solving is that WebContentsImpl::VisibleSSLStateChanged() is not getting ...
5 years, 6 months ago (2015-06-25 00:35:47 UTC) #2
nasko
https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc#newcode2871 chrome/browser/ui/browser_browsertest.cc:2871: EXPECT_EQ(content::SECURITY_STYLE_AUTHENTICATION_BROKEN, We expect to have an interstitial page being ...
5 years, 6 months ago (2015-06-25 12:59:32 UTC) #3
estark
Thanks nasko. https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc#newcode2871 chrome/browser/ui/browser_browsertest.cc:2871: EXPECT_EQ(content::SECURITY_STYLE_AUTHENTICATION_BROKEN, On 2015/06/25 12:59:32, nasko (paris) wrote: ...
5 years, 6 months ago (2015-06-25 14:54:45 UTC) #4
estark
Thanks nasko. https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc#newcode2871 chrome/browser/ui/browser_browsertest.cc:2871: EXPECT_EQ(content::SECURITY_STYLE_AUTHENTICATION_BROKEN, On 2015/06/25 12:59:32, nasko (paris) wrote: ...
5 years, 6 months ago (2015-06-25 14:54:45 UTC) #5
nasko
LGTM https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1207943002/diff/1/chrome/browser/ui/browser_browsertest.cc#newcode2879 chrome/browser/ui/browser_browsertest.cc:2879: observer.latest_security_style()); On 2015/06/25 14:54:44, estark wrote: > On ...
5 years, 6 months ago (2015-06-26 08:53:04 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1207943002/20001
5 years, 6 months ago (2015-06-26 08:56:50 UTC) #8
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years, 6 months ago (2015-06-26 08:59:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1207943002/60001
5 years, 6 months ago (2015-06-26 14:08:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/74338)
5 years, 6 months ago (2015-06-26 14:14:52 UTC) #15
estark
msw, could you please review //chrome/browser/ui?
5 years, 6 months ago (2015-06-26 14:21:08 UTC) #17
msw
lgtm with an optional nit https://codereview.chromium.org/1207943002/diff/80001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/1207943002/diff/80001/chrome/browser/ui/browser_browsertest.cc#newcode374 chrome/browser/ui/browser_browsertest.cc:374: latest_explanations_.warning_explanations.clear(); nit: maybe just ...
5 years, 5 months ago (2015-06-29 20:02:08 UTC) #18
lgarron
On 2015/06/29 at 20:02:08, msw wrote: > lgtm with an optional nit > > https://codereview.chromium.org/1207943002/diff/80001/chrome/browser/ui/browser_browsertest.cc ...
5 years, 5 months ago (2015-06-29 21:35:57 UTC) #19
msw
On 2015/06/29 21:35:57, lgarron wrote: > On 2015/06/29 at 20:02:08, msw wrote: > > lgtm ...
5 years, 5 months ago (2015-06-29 21:42:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1207943002/80001
5 years, 5 months ago (2015-06-29 22:35:18 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-06-29 23:47:23 UTC) #24
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 23:48:31 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c95446759f5c9eff845f36c830b1ef87b768c3fa
Cr-Commit-Position: refs/heads/master@{#336683}

Powered by Google App Engine
This is Rietveld 408576698