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

Issue 10855260: Safe Browsing malware interstitial redesign field trial. (Closed)

Created:
8 years, 4 months ago by mattm
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Ilya Sherman, MAD, arv (Not doing code reviews), pam+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

Safe Browsing malware interstitial redesign field trial. BUG=143999 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152941

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 12

Patch Set 3 : review changes #

Patch Set 4 : changes for review comment #8 #

Total comments: 28

Patch Set 5 : webui style fixes #

Total comments: 82

Patch Set 6 : changes for review comments #16 and #18 #

Patch Set 7 : rebase #

Patch Set 8 : fix compile warning #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1127 lines, -491 lines) Patch
M chrome/app/generated_resources.grd View 4 chunks +75 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials.cc View 1 2 3 4 5 3 chunks +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/safe_browsing/malware_block_v2.css View 1 2 3 4 5 1 chunk +154 lines, -0 lines 0 comments Download
A chrome/browser/resources/safe_browsing/malware_block_v2.html View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/resources/safe_browsing/malware_block_v2.js View 1 2 3 4 5 1 chunk +70 lines, -0 lines 1 comment Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 6 chunks +74 lines, -21 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 15 chunks +598 lines, -267 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/safe_browsing/safe_browsing_blocking_page_v2_test.cc View 1 2 3 4 5 6 13 chunks +28 lines, -76 lines 0 comments Download
A + chrome/browser/safe_browsing/safe_browsing_blocking_page_v2_unittest.cc View 1 2 14 chunks +18 lines, -122 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/tools/chromeactions.txt View 2 chunks +25 lines, -0 lines 0 comments Download
M chrome/tools/extract_actions.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
mattm
arv: chrome/browser/resources/ noelutz,kewang: chrome/browser/safe_browsing/ thakis: chrome/browser,chrome/tools
8 years, 4 months ago (2012-08-21 03:31:12 UTC) #1
Ilya Sherman
http://codereview.chromium.org/10855260/diff/14/chrome/tools/extract_actions.py File chrome/tools/extract_actions.py (right): http://codereview.chromium.org/10855260/diff/14/chrome/tools/extract_actions.py#newcode137 chrome/tools/extract_actions.py:137: actions.add('SBInterstitial%s%s%s' % (interstitial, action, group)) Note that the variations ...
8 years, 4 months ago (2012-08-21 03:46:53 UTC) #2
kewang
anywhere to see some screenshots of the new interstitial page? Thanks! On Tue, Aug 21, ...
8 years, 4 months ago (2012-08-21 04:35:45 UTC) #3
mattm
> anywhere to see some screenshots of the new interstitial page? Thanks! www/~mattm/no_crawl/chrome/sb_interstitial http://codereview.chromium.org/10855260/diff/14/chrome/tools/extract_actions.py File ...
8 years, 4 months ago (2012-08-21 05:12:13 UTC) #4
kewang
looks great. Just some nits: 1. No unittests for V2 pages? 2. Please test phishing ...
8 years, 4 months ago (2012-08-21 10:23:05 UTC) #5
Nico
asvitkine, do the changes in chrome/browser/chrome_browser_field_trials.cc look good to you?
8 years, 4 months ago (2012-08-21 18:09:54 UTC) #6
mattm
> 1. No unittests for V2 pages? done. > 2. Please test phishing warning, walware+phishing ...
8 years, 4 months ago (2012-08-21 18:29:12 UTC) #7
Alexei Svitkine (slow)
http://codereview.chromium.org/10855260/diff/14/chrome/browser/chrome_browser_field_trials.h File chrome/browser/chrome_browser_field_trials.h (right): http://codereview.chromium.org/10855260/diff/14/chrome/browser/chrome_browser_field_trials.h#newcode66 chrome/browser/chrome_browser_field_trials.h:66: void SafeBrowsingInterstitialFieldTrial(); Nit: Can you rename this to SetUpSafeBrowsingInterstitialFieldTrial() ...
8 years, 4 months ago (2012-08-21 18:37:37 UTC) #8
Alexei Svitkine (slow)
chrome/browser/chrome_browser_field_trials.[cc|h] LGTM with the above nit.
8 years, 4 months ago (2012-08-21 18:38:13 UTC) #9
mattm
http://codereview.chromium.org/10855260/diff/14/chrome/browser/chrome_browser_field_trials.h File chrome/browser/chrome_browser_field_trials.h (right): http://codereview.chromium.org/10855260/diff/14/chrome/browser/chrome_browser_field_trials.h#newcode66 chrome/browser/chrome_browser_field_trials.h:66: void SafeBrowsingInterstitialFieldTrial(); On 2012/08/21 18:37:38, Alexei Svitkine wrote: > ...
8 years, 4 months ago (2012-08-21 19:09:39 UTC) #10
Nico
The files I'm supposed to look at lgtm
8 years, 4 months ago (2012-08-21 19:19:33 UTC) #11
Alexei Svitkine (slow)
As an aside, shouldn't you have a crbug associated with this change, given it's non-trivial?
8 years, 4 months ago (2012-08-21 19:56:39 UTC) #12
Dan Beam
filling in for arv@ on yihan@google's request http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html File chrome/browser/resources/safe_browsing_malware_block_v2.html (right): http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html#newcode1 chrome/browser/resources/safe_browsing_malware_block_v2.html:1: <html id="template_root" ...
8 years, 4 months ago (2012-08-21 21:54:15 UTC) #13
csilv
http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html File chrome/browser/resources/safe_browsing_malware_block_v2.html (right): http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html#newcode1 chrome/browser/resources/safe_browsing_malware_block_v2.html:1: <html id="template_root" jsvalues="dir:textdirection"> This file does not comply with ...
8 years, 4 months ago (2012-08-21 21:59:39 UTC) #14
mattm
thanks, updated http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html File chrome/browser/resources/safe_browsing_malware_block_v2.html (right): http://codereview.chromium.org/10855260/diff/12017/chrome/browser/resources/safe_browsing_malware_block_v2.html#newcode1 chrome/browser/resources/safe_browsing_malware_block_v2.html:1: <html id="template_root" jsvalues="dir:textdirection"> On 2012/08/21 21:54:15, Dan ...
8 years, 4 months ago (2012-08-22 02:10:48 UTC) #15
Dan Beam
http://codereview.chromium.org/10855260/diff/18001/chrome/browser/resources/safe_browsing/malware_block_v2.css File chrome/browser/resources/safe_browsing/malware_block_v2.css (right): http://codereview.chromium.org/10855260/diff/18001/chrome/browser/resources/safe_browsing/malware_block_v2.css#newcode7 chrome/browser/resources/safe_browsing/malware_block_v2.css:7: background-image: url('images/stripe.png'); combine into a background rule http://codereview.chromium.org/10855260/diff/18001/chrome/browser/resources/safe_browsing/malware_block_v2.css#newcode8 chrome/browser/resources/safe_browsing/malware_block_v2.css:8: ...
8 years, 4 months ago (2012-08-22 02:34:03 UTC) #16
kewang
LGTM for my parts.
8 years, 4 months ago (2012-08-22 02:48:09 UTC) #17
arv (Not doing code reviews)
http://codereview.chromium.org/10855260/diff/18001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10855260/diff/18001/chrome/app/generated_resources.grd#newcode10736 chrome/app/generated_resources.grd:10736: + <ph name="BEGIN_SPAN">&lt;span jsdisplay="!proceedDisabled"&gt;</ph>If you <ph name="BEGIN_LINK2">&lt;a id="proceed" href="#"&gt;</ph>proceed ...
8 years, 4 months ago (2012-08-22 14:33:45 UTC) #18
arv (Not doing code reviews)
Looking at the screenshots... here are two alternatives to floats: 1. Use padding-end/margin-end and a ...
8 years, 4 months ago (2012-08-22 14:39:47 UTC) #19
mattm
http://codereview.chromium.org/10855260/diff/18001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10855260/diff/18001/chrome/app/generated_resources.grd#newcode10736 chrome/app/generated_resources.grd:10736: + <ph name="BEGIN_SPAN">&lt;span jsdisplay="!proceedDisabled"&gt;</ph>If you <ph name="BEGIN_LINK2">&lt;a id="proceed" href="#"&gt;</ph>proceed ...
8 years, 4 months ago (2012-08-22 20:33:47 UTC) #20
csilv
chrome/browser/resources LGTM
8 years, 4 months ago (2012-08-22 23:15:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/10855260/28002
8 years, 4 months ago (2012-08-23 01:13:44 UTC) #22
commit-bot: I haz the power
Try job failure for 10855260-28002 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-23 01:46:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mattm@chromium.org/10855260/24007
8 years, 4 months ago (2012-08-23 01:50:32 UTC) #24
commit-bot: I haz the power
Change committed as 152941
8 years, 4 months ago (2012-08-23 03:35:39 UTC) #25
arv (Not doing code reviews)
8 years, 4 months ago (2012-08-23 14:20:25 UTC) #26
http://codereview.chromium.org/10855260/diff/24007/chrome/browser/resources/s...
File chrome/browser/resources/safe_browsing/malware_block_v2.js (right):

http://codereview.chromium.org/10855260/diff/24007/chrome/browser/resources/s...
chrome/browser/resources/safe_browsing/malware_block_v2.js:62: // contains
<span>s, which confuse preventDefaultOnPoundLinkClicks.
preventDefaultOnPoundLinkClicks can be fixed to handle this

Powered by Google App Engine
This is Rietveld 408576698