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

Issue 14752005: Finch experiments on SSL, malware, and phishing interstitials (Closed)

Created:
7 years, 7 months ago by felt
Modified:
7 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Finch experiments on SSL, malware, and phishing interstitials Adds new versions of the interstitials according to a controlled experiment. Also adds some new UMA histogram fields for SSL and Safe Browsing. This folio shows what each of the conditions look like: https://folio.googleplex.com/finch_interstitial/ See bug for detailed description of the experiment. BUG=224070 TBR=agl@chromium.org, jhawkins@chromium.org, jwd@chromium.org, mattm@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198656

Patch Set 1 #

Patch Set 2 : Tweaked the SSL errors #

Patch Set 3 : Added Safe Browsing Field Trial #

Total comments: 21

Patch Set 4 : Made changes per Adam L's review #

Total comments: 9

Patch Set 5 : Moved files into resources subfolder, moved strings into grit #

Patch Set 6 : Renamed files in ssl subdirectory #

Total comments: 11

Patch Set 7 : Fixes for James's review #

Total comments: 8

Patch Set 8 : A few small changes, removed png files #

Patch Set 9 : Removed 3 SSL conditions #

Total comments: 14

Patch Set 10 : Small changes for jhawkins review #

Patch Set 11 : Rebased, fixed compilation errors #

Patch Set 12 : Deleted old pngs #

Total comments: 2

Patch Set 13 : Fixes that matt pointed out #

Total comments: 2

Patch Set 14 : SHOW_ADVANCED #

Total comments: 8

Patch Set 15 : Fixed nits for jhawkins #

Patch Set 16 : Fixed a small bug i introduced last patchset #

Patch Set 17 : Previous rebase somehow 'lost' files #

Patch Set 18 : Browsertest trybot fix #

Total comments: 44
Unified diffs Side-by-side diffs Delta from patch set Stats (+759 lines, -252 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +26 lines, -1 line 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/history/history.css View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/reader_out_of_date.html View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/safe_browsing/malware_block_v2.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/safe_browsing/malware_block_v2.js View 1 2 3 4 5 6 7 8 9 2 chunks +21 lines, -0 lines 2 comments Download
M chrome/browser/resources/safe_browsing_multiple_threat_block.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/ssl/fancy_firefox.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +268 lines, -0 lines 29 comments Download
A chrome/browser/resources/ssl/firefox.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +261 lines, -0 lines 4 comments Download
A + chrome/browser/resources/ssl/roadblock.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 8 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/resources/ssl_roadblock.html View 1 2 3 4 1 chunk +0 lines, -201 lines 0 comments Download
D chrome/browser/resources/ssl_roadblock_background.png View 1 2 3 4 8 9 10 11 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/browser/resources/ssl_roadblock_icon.png View 1 2 3 4 8 9 10 11 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 1 comment Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 10 chunks +109 lines, -30 lines 4 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 1 comment Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 chunks +52 lines, -6 lines 3 comments Download

Messages

Total messages: 45 (0 generated)
felt
Hi Jesse, Could you please take a look at the use of FieldTrial in ssl_blocking_page.cc? ...
7 years, 7 months ago (2013-05-01 06:58:02 UTC) #1
felt
Re-sending because I accidentally entered your @google instead of @chromium. On 2013/05/01 06:58:02, felt wrote: ...
7 years, 7 months ago (2013-05-01 06:59:28 UTC) #2
felt
Hi abarth & agl: could you take a look at the modifications I made to ...
7 years, 7 months ago (2013-05-01 17:06:45 UTC) #3
felt
Hi Matt, Can you please take a look at the modifications I made to the ...
7 years, 7 months ago (2013-05-01 17:07:40 UTC) #4
agl
It's not obvious to me where all the different variations of the page are getting ...
7 years, 7 months ago (2013-05-01 18:54:12 UTC) #5
felt
Most of the logic that controls the conditions is actually in the JavaScript, not in ...
7 years, 7 months ago (2013-05-01 19:39:45 UTC) #6
agl
LGTM for *.h, *.cc. https://codereview.chromium.org/14752005/diff/28001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/28001/chrome/browser/ssl/ssl_blocking_page.cc#newcode216 chrome/browser/ssl/ssl_blocking_page.cc:216: int resource_id = IDR_SSL_ROAD_BLOCK_HTML; it's ...
7 years, 7 months ago (2013-05-01 19:46:20 UTC) #7
felt
jhawkins - could you please take a look at the HTML and JS files (in ...
7 years, 7 months ago (2013-05-01 19:54:44 UTC) #8
James Hawkins
These added files need to be in a new subdirectory of resources/
7 years, 7 months ago (2013-05-01 20:01:54 UTC) #9
mattm
https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode42 chrome/browser/resources/safe_browsing/malware_block_v2.js:42: var condition = $('trial-type').innerHTML; Don't need to stick this ...
7 years, 7 months ago (2013-05-01 20:17:17 UTC) #10
felt
https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode55 chrome/browser/resources/safe_browsing/malware_block_v2.js:55: 'proceed. Go back!'; Is that worth doing even though ...
7 years, 7 months ago (2013-05-01 20:36:29 UTC) #11
mattm
https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode55 chrome/browser/resources/safe_browsing/malware_block_v2.js:55: 'proceed. Go back!'; On 2013/05/01 20:36:29, felt wrote: > ...
7 years, 7 months ago (2013-05-01 20:49:11 UTC) #12
James Hawkins
https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode55 chrome/browser/resources/safe_browsing/malware_block_v2.js:55: 'proceed. Go back!'; On 2013/05/01 20:49:12, mattm wrote: > ...
7 years, 7 months ago (2013-05-01 20:49:55 UTC) #13
felt
I moved everything relating to the ssl warning into a ssl/ folder. https://codereview.chromium.org/14752005/diff/28001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js ...
7 years, 7 months ago (2013-05-01 22:46:44 UTC) #14
James Hawkins
Please remove ssl_ from all of the files in the ssl/ directory, now that the ...
7 years, 7 months ago (2013-05-01 22:53:19 UTC) #15
felt
On 2013/05/01 22:53:19, James Hawkins wrote: > Please remove ssl_ from all of the files ...
7 years, 7 months ago (2013-05-01 23:12:32 UTC) #16
James Hawkins
Note that I'm not going over the experimental .html files very closely; once we pick ...
7 years, 7 months ago (2013-05-01 23:21:45 UTC) #17
felt
James: once you give approval, I'm going to move all the image renaming changes into ...
7 years, 7 months ago (2013-05-02 16:07:12 UTC) #18
felt
Carlos- can you please give OWNERS approval for chrome/app/generated_resources.grd? I had to add some string ...
7 years, 7 months ago (2013-05-02 16:13:57 UTC) #19
cpu_(ooo_6.6-7.5)
check the owners file, I think it has * for grd files.
7 years, 7 months ago (2013-05-02 19:55:58 UTC) #20
jwd
Except for the question in my comment, trial code LGTM. https://codereview.chromium.org/14752005/diff/54001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/54001/chrome/browser/ssl/ssl_blocking_page.cc#newcode186 ...
7 years, 7 months ago (2013-05-02 19:58:35 UTC) #21
mattm
I think the best way to do the file rename is to make another CL ...
7 years, 7 months ago (2013-05-02 20:00:10 UTC) #22
felt
The files are now added in a separate CL: 14752005. I need someone to approve ...
7 years, 7 months ago (2013-05-02 22:15:20 UTC) #23
felt
jhawkins, mattm - Do you have any additional changes you'd like me to make? (Sorry ...
7 years, 7 months ago (2013-05-03 18:29:11 UTC) #24
James Hawkins
https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode41 chrome/browser/resources/safe_browsing/malware_block_v2.js:41: function setupInterstitialExperiment() { nit: Document method. https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode47 chrome/browser/resources/safe_browsing/malware_block_v2.js:47: $('logo').style.display ...
7 years, 7 months ago (2013-05-03 18:31:54 UTC) #25
felt
Thanks. Changes uploaded. On 2013/05/03 18:31:54, James Hawkins wrote: > https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js > File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): ...
7 years, 7 months ago (2013-05-03 18:43:14 UTC) #26
felt
https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js File chrome/browser/resources/safe_browsing/malware_block_v2.js (right): https://codereview.chromium.org/14752005/diff/72001/chrome/browser/resources/safe_browsing/malware_block_v2.js#newcode41 chrome/browser/resources/safe_browsing/malware_block_v2.js:41: function setupInterstitialExperiment() { On 2013/05/03 18:31:55, James Hawkins wrote: ...
7 years, 7 months ago (2013-05-03 18:43:25 UTC) #27
mattm
https://codereview.chromium.org/14752005/diff/54001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/54001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode117 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:117: static const char kCond1MalwareControl[] = "Cond1MalwareControl"; ah, actually I ...
7 years, 7 months ago (2013-05-03 23:25:45 UTC) #28
felt
https://codereview.chromium.org/14752005/diff/54001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/54001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode117 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:117: static const char kCond1MalwareControl[] = "Cond1MalwareControl"; On 2013/05/03 23:25:45, ...
7 years, 7 months ago (2013-05-03 23:44:49 UTC) #29
mattm
https://codereview.chromium.org/14752005/diff/88001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/88001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode661 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:661: need it here too?
7 years, 7 months ago (2013-05-03 23:56:02 UTC) #30
felt
https://codereview.chromium.org/14752005/diff/88001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/88001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode661 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:661: Yup, sorry. On 2013/05/03 23:56:02, mattm wrote: > need ...
7 years, 7 months ago (2013-05-03 23:59:49 UTC) #31
mattm
safebrowsing lgtm
7 years, 7 months ago (2013-05-04 00:05:04 UTC) #32
abarth-chromium
Looks fine to me. I should probably be removed from this OWNERS file, however.
7 years, 7 months ago (2013-05-06 18:02:36 UTC) #33
James Hawkins
https://codereview.chromium.org/14752005/diff/90001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/14752005/diff/90001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode119 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:119: static base::LazyInstance<SafeBrowsingBlockingPage::UnsafeResourceMap> nit: All of these non-class statics should ...
7 years, 7 months ago (2013-05-06 18:13:57 UTC) #34
felt
jhawkins - I fixed the spacing and moved the other variables into the new namespace. ...
7 years, 7 months ago (2013-05-06 19:47:52 UTC) #35
James Hawkins
lgtm
7 years, 7 months ago (2013-05-06 19:51:55 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/14752005/105001
7 years, 7 months ago (2013-05-06 21:59:41 UTC) #37
felt
Committed patchset #18 manually as r198656 (presubmit successful).
7 years, 7 months ago (2013-05-07 06:45:37 UTC) #38
satorux1
https://codereview.chromium.org/14752005/diff/105001/chrome/browser/ssl/ssl_blocking_page.h File chrome/browser/ssl/ssl_blocking_page.h (right): https://codereview.chromium.org/14752005/diff/105001/chrome/browser/ssl/ssl_blocking_page.h#newcode77 chrome/browser/ssl/ssl_blocking_page.h:77: std::string trialCondition_; drive-by: trial_condition_;
7 years, 7 months ago (2013-05-07 07:23:17 UTC) #39
Dan Beam
I have no idea how all this made it through review... I stopped after the ...
7 years, 7 months ago (2013-05-07 08:07:15 UTC) #40
felt
dbeam: The new HTML/JS files are solely there for a Finch experiment. The files will ...
7 years, 7 months ago (2013-05-07 08:12:26 UTC) #41
James Hawkins
On 2013/05/07 08:12:26, felt wrote: > dbeam: The new HTML/JS files are solely there for ...
7 years, 7 months ago (2013-05-07 16:50:59 UTC) #42
Dan Beam
jhawkins@: felt@ and I settled this offline by filing a bug to track and setting ...
7 years, 7 months ago (2013-05-07 22:04:44 UTC) #43
Dan Beam
felt@: have you gathered enough data now?
7 years, 6 months ago (2013-06-03 18:49:14 UTC) #44
felt
7 years, 6 months ago (2013-06-03 18:50:38 UTC) #45
Message was sent while issue was closed.
On 2013/06/03 18:49:14, Dan Beam wrote:
> felt@: have you gathered enough data now?

dbeam: It needs to go to stable before it can be disabled. I was hoping it would
make it in to M28 but it didn't make the cutoff, so it'll have to go to M29.

Powered by Google App Engine
This is Rietveld 408576698