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

Issue 10694037: Add a policy to disable proceeding through the Safe Browsing interstitials. (Closed)

Created:
8 years, 5 months ago by Joao da Silva
Modified:
8 years, 5 months ago
CC:
chromium-reviews, dennis_jeffrey, arv (Not doing code reviews), anantha, dyu1, Nirnimesh, Scott Hess - ex-Googler
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a policy to disable proceeding through the Safe Browsing interstitials. BUG=119184 TEST=browser_tests:SafeBrowsingBlockingPageTest.*, Safe Browsing warning pages don't have a "proceed" link when opening malware sites (e.g. ianfette.org) and the policy is set Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145523

Patch Set 1 #

Total comments: 26

Patch Set 2 : Addressed comments #

Total comments: 1

Patch Set 3 : Fixed <button>/jstemplate #

Total comments: 19

Patch Set 4 : Rebased, addressed comments, fixed jstemplate root in multi_threat_block page, added new browser ac… #

Total comments: 4

Patch Set 5 : Rebase #

Patch Set 6 : Removed self-closing <img> tags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -62 lines) Patch
M chrome/app/policy/policy_templates.json View 1 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/safe_browsing_malware_block.html View 1 2 3 4 5 1 chunk +16 lines, -7 lines 0 comments Download
M chrome/browser/resources/safe_browsing_multiple_threat_block.html View 1 2 3 4 5 2 chunks +43 lines, -20 lines 0 comments Download
M chrome/browser/resources/safe_browsing_phishing_block.html View 1 2 3 1 chunk +20 lines, -6 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 6 chunks +25 lines, -24 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 5 chunks +53 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/functional/policy_test_cases.py View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/tools/extract_actions.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Joao da Silva
Please have a look, thanks! @mnissler: policy/ stuff @mirandac: profiles/ stuff @jhawkins: resources/ stuff @shess: ...
8 years, 5 months ago (2012-06-29 17:20:27 UTC) #1
James Hawkins
http://codereview.chromium.org/10694037/diff/1/chrome/browser/resources/safe_browsing_malware_block.html File chrome/browser/resources/safe_browsing_malware_block.html (right): http://codereview.chromium.org/10694037/diff/1/chrome/browser/resources/safe_browsing_malware_block.html#newcode163 chrome/browser/resources/safe_browsing_malware_block.html:163: <div class="main" i18n-values=".innerHTML:description3" jsdisplay="!proceed_disabled"></div> 80 cols. http://codereview.chromium.org/10694037/diff/1/chrome/browser/resources/safe_browsing_multiple_threat_block.html File chrome/browser/resources/safe_browsing_multiple_threat_block.html ...
8 years, 5 months ago (2012-06-29 17:31:51 UTC) #2
Miranda Callahan
profiles/* LGTM. On 2012/06/29 17:31:51, James Hawkins wrote: > http://codereview.chromium.org/10694037/diff/1/chrome/browser/resources/safe_browsing_malware_block.html > File chrome/browser/resources/safe_browsing_malware_block.html (right): > ...
8 years, 5 months ago (2012-06-29 17:37:47 UTC) #3
Mattias Nissler (ping if slow)
LGTM w/ nits for chrome/browser/policy. It seems like writing a PyAuto for this would be ...
8 years, 5 months ago (2012-07-02 09:51:56 UTC) #4
Joao da Silva
Thanks for the reviews! @James: PTAL. Please have a look at the comment about the ...
8 years, 5 months ago (2012-07-02 10:08:40 UTC) #5
Scott Hess - ex-Googler
Swapping in Matt. I'm on jury duty right now, so my reviewing time is pretty ...
8 years, 5 months ago (2012-07-02 14:13:10 UTC) #6
James Hawkins
http://codereview.chromium.org/10694037/diff/1018/chrome/browser/resources/safe_browsing_malware_block.html File chrome/browser/resources/safe_browsing_malware_block.html (right): http://codereview.chromium.org/10694037/diff/1018/chrome/browser/resources/safe_browsing_malware_block.html#newcode146 chrome/browser/resources/safe_browsing_malware_block.html:146: <div class="background"><img src="ssl_roadblock_background.png" width="100%" <img> needs to be on ...
8 years, 5 months ago (2012-07-02 15:56:06 UTC) #7
mattm
http://codereview.chromium.org/10694037/diff/1018/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): http://codereview.chromium.org/10694037/diff/1018/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode604 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:604: RecordUserAction(DONT_PROCEED); Probably want to split this into two user ...
8 years, 5 months ago (2012-07-02 21:47:00 UTC) #8
Joao da Silva
@Matt: PTAL @James: PTYAL http://codereview.chromium.org/10694037/diff/1018/chrome/browser/resources/safe_browsing_malware_block.html File chrome/browser/resources/safe_browsing_malware_block.html (right): http://codereview.chromium.org/10694037/diff/1018/chrome/browser/resources/safe_browsing_malware_block.html#newcode146 chrome/browser/resources/safe_browsing_malware_block.html:146: <div class="background"><img src="ssl_roadblock_background.png" width="100%" On ...
8 years, 5 months ago (2012-07-03 13:39:52 UTC) #9
James Hawkins
LGTM with nit and question. I'll clean up this page later (it's on my OKRs). ...
8 years, 5 months ago (2012-07-03 16:56:47 UTC) #10
mattm
lgtm http://codereview.chromium.org/10694037/diff/1018/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): http://codereview.chromium.org/10694037/diff/1018/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode604 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:604: RecordUserAction(DONT_PROCEED); On 2012/07/03 13:39:52, Joao da Silva wrote: ...
8 years, 5 months ago (2012-07-03 19:41:34 UTC) #11
mattm
(btw, when you are uploading changes after rebasing/merging in new changes from the trunk, it ...
8 years, 5 months ago (2012-07-03 19:42:03 UTC) #12
Joao da Silva
Thanks all for reviewing! http://codereview.chromium.org/10694037/diff/8002/chrome/browser/resources/safe_browsing_malware_block.html File chrome/browser/resources/safe_browsing_malware_block.html (right): http://codereview.chromium.org/10694037/diff/8002/chrome/browser/resources/safe_browsing_malware_block.html#newcode148 chrome/browser/resources/safe_browsing_malware_block.html:148: alt="background" onmousedown="return false;"/> On 2012/07/03 ...
8 years, 5 months ago (2012-07-05 09:49:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10694037/9007
8 years, 5 months ago (2012-07-05 09:50:01 UTC) #14
commit-bot: I haz the power
Change committed as 145523
8 years, 5 months ago (2012-07-05 11:16:41 UTC) #15
cpu_(ooo_6.6-7.5)
8 years, 5 months ago (2012-07-06 23:59:22 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698