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

Issue 2456383003: Reland of Trigger Dangerous indicator for unsafe subresources (Closed)

Created:
4 years, 1 month ago by estark
Modified:
4 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, grt+watch_chromium.org, jam, nasko+codewatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Trigger Dangerous indicator for unsafe subresources (patchset #1 id:1 of https://codereview.chromium.org/2461093002/ ) Reason for revert: Relanding: fixed uninitialized UnsafeResource::is_subframe Original issue's description: > Revert of Trigger Dangerous indicator for unsafe subresources (patchset #4 id:60001 of https://codereview.chromium.org/2444383007/ ) > > Reason for revert: > Breaks MSan tests: > > First breaking build: > https://build.chromium.org/p/chromium.memory.full/builders/Linux%20MSan%20Tests/builds/2755 > > Original issue's description: > > Trigger Dangerous indicator for unsafe subresources > > > > Previously, the Dangerous indicator was not firing for subresources > > flagged by Safe Browsing as unsafe. This is because marking a > > subresource as unsafe was not triggering an omnibox update. We want to > > trigger an omnibox update whenever a URL is marked as > > whitelisted (either pending, meaning that an interstitial is showing, or > > whitelisted, meaning that an interstitial has been clicked through) in > > SafeBrowsingUIManager. > > > > To do so, this CL renames WebContentsImpl::DidChangeVisibleSSLState() to > > DidChangeVisibleSecurityState() (since it's no longer just SSL > > information that can affect the omnibox security UI) and moves it to > > WebContents so that it can be called from SafeBrowsingUIManager. > > > > BUG=659713 > > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation > > > > Committed: https://crrev.com/8bb181295c47ba4d74a626f809a1a27423544f2f > > Cr-Commit-Position: refs/heads/master@{#428223} > > TBR=nparker@chromium.org,jam@chromium.org,estark@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=659713 > > Committed: https://crrev.com/201e61b48c2f4ee497ca1fc09217ad8a190b829b > Cr-Commit-Position: refs/heads/master@{#428520} TBR=nparker@chromium.org,jam@chromium.org,tommycli@chromium.org BUG=659713 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : initialize is_subframe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -41 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager_unittest.cc View 1 3 chunks +112 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M components/web_contents_delegate_android/web_contents_delegate_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/web_contents_delegate_android/web_contents_delegate_android.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/ssl/ssl_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_manager_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 chunks +14 lines, -14 lines 0 comments Download
M content/public/browser/web_contents.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
estark
Created Reland of Trigger Dangerous indicator for unsafe subresources
4 years, 1 month ago (2016-10-28 22:29:34 UTC) #1
DaleCurtis
Revert broke the build so relanding this immediately, https://codereview.chromium.org/2454393003/
4 years, 1 month ago (2016-10-28 23:02:28 UTC) #13
Nathan Parker
lgtm
4 years, 1 month ago (2016-10-28 23:21:33 UTC) #14
tommycli
memory fix LGTM, but you will probably need to merge so that the patch is ...
4 years, 1 month ago (2016-10-29 00:06:45 UTC) #15
estark
4 years, 1 month ago (2016-10-29 00:12:11 UTC) #16
Errr, there were many revert and reland CLs in a short period of time. :)

The straight reland (with no fix) landed in
https://codereview.chromium.org/2454393003/ to unbreak the build.

The msan fix is in the CQ at https://codereview.chromium.org/2458223002/

This CL is no longer needed so I'll close it.

Powered by Google App Engine
This is Rietveld 408576698