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

Issue 2270283002: Downgrade security state after user clicks through SB interstitial (Closed)

Created:
4 years, 4 months ago by felt
Modified:
4 years, 3 months ago
Reviewers:
Jialiu Lin, estark
CC:
chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Downgrade security state after user clicks through SB interstitial BUG=615123 TEST= 1. Go to the following URLs in different tabs: http://ianfette.org http://parkerly.com/sb-tests/bad-subresources.html https://parkerly.com/sb-tests/bad-subresources.html 2. Click through the warnings that appear 3. Verify that the omnibox security indicator shows a red triangle Committed: https://crrev.com/6b00a3a260d63e917cb1534cf17876e7d8297688 Cr-Commit-Position: refs/heads/master@{#414638}

Patch Set 1 #

Patch Set 2 : Remove unnecessary assert in tests #

Total comments: 9

Patch Set 3 : Updated test, added UIManager method wrapper #

Total comments: 8

Patch Set 4 : Addressed comments for estark #

Patch Set 5 : For debugging (ignore this) #

Patch Set 6 : Remove logging statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -14 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 8 chunks +116 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 1 chunk +19 lines, -6 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 5 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
felt
estark, jialiul, PTAL?
4 years, 4 months ago (2016-08-24 01:11:01 UTC) #3
estark
https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode1032 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:1032: HTTPSOverridePostInterstitial) { Either I'm missing something or this test ...
4 years, 4 months ago (2016-08-24 05:15:39 UTC) #8
Jialiu Lin
https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode1032 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:1032: HTTPSOverridePostInterstitial) { This test seems very similar to the ...
4 years, 4 months ago (2016-08-24 06:27:20 UTC) #9
felt
https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2270283002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode1032 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:1032: HTTPSOverridePostInterstitial) { On 2016/08/24 05:15:39, estark wrote: > Either ...
4 years, 4 months ago (2016-08-24 19:27:20 UTC) #11
Jialiu Lin
lgtm
4 years, 4 months ago (2016-08-24 20:34:35 UTC) #13
estark
lgtm with a few nits https://codereview.chromium.org/2270283002/diff/40001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2270283002/diff/40001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode375 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:375: GURL SetupWarningAndNavigateToURL(GURL url) { ...
4 years, 4 months ago (2016-08-24 22:30:39 UTC) #16
felt
https://codereview.chromium.org/2270283002/diff/40001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2270283002/diff/40001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode375 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:375: GURL SetupWarningAndNavigateToURL(GURL url) { On 2016/08/24 22:30:39, estark wrote: ...
4 years, 4 months ago (2016-08-25 01:03:44 UTC) #17
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/2270283002/60001
4 years, 4 months ago (2016-08-25 01:04:42 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/284303)
4 years, 4 months ago (2016-08-25 02:35:41 UTC) #22
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/2270283002/100001
4 years, 3 months ago (2016-08-26 00:32:20 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/269230)
4 years, 3 months ago (2016-08-26 02:16: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/2270283002/100001
4 years, 3 months ago (2016-08-26 02:18:13 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-08-26 02:49:47 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 02:52:43 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6b00a3a260d63e917cb1534cf17876e7d8297688
Cr-Commit-Position: refs/heads/master@{#414638}

Powered by Google App Engine
This is Rietveld 408576698