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

Issue 319193002: Update the malware interstitial to have the new layout (Closed)

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

Description

Update the malware interstitial to have the new layout This puts the existing malware & phishing text into the new security interstitial layout. Since it's not polished enough yet, this CL keeps it behind a flag. Down the line, I'm going to want to make a new c/b/resources/security_interstitial/ folder and move all of the related SSL & SB files into there. But it doesn't make sense to do that yet, until we deprecate the older versions. BUG=381260 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276414

Patch Set 1 #

Patch Set 2 : Old wording in place in new layout #

Patch Set 3 : Got it working for phishing too #

Patch Set 4 : Pre-review style fixes #

Total comments: 28

Patch Set 5 : Fixed comments for bauerb #

Total comments: 10

Patch Set 6 : Round 2 of edits #

Total comments: 6

Patch Set 7 : Renamed command #

Total comments: 4

Patch Set 8 : Renamed variables, updated malware CSS label names #

Total comments: 10

Patch Set 9 : Changes for mattm #

Total comments: 2

Patch Set 10 : Removed field trial #

Patch Set 11 : Rebased #

Patch Set 12 : Unused variable #

Patch Set 13 : Rebased again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -27 lines) Patch
A chrome/browser/resources/safe_browsing/safe_browsing_v3.js View 1 2 3 4 5 6 7 8 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/resources/ssl/interstitial_v2.css View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +26 lines, -4 lines 0 comments Download
M chrome/browser/resources/ssl/interstitial_v2.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/resources/ssl/interstitial_v2.js View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +25 lines, -8 lines 0 comments Download
M chrome/browser/resources/ssl/ssl_errors_common.js View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +171 lines, -13 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
felt
Hi Bernhard, can you please review the c/b/resources/* changes? Thank you. Adrienne
6 years, 6 months ago (2014-06-07 00:12:45 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode6 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:6: var SB_CMD_SHOW_DIAGNOSTIC = 'showDiagnostic'; Sort these alphabetically? It might ...
6 years, 6 months ago (2014-06-09 10:04:03 UTC) #2
felt
https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode6 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:6: var SB_CMD_SHOW_DIAGNOSTIC = 'showDiagnostic'; On 2014/06/09 10:04:02, Bernhard Bauer ...
6 years, 6 months ago (2014-06-09 14:24:10 UTC) #3
felt
palmer, can you please do an OWNERS review for a one-line change in c/b/ssl/ssl_blocking_page.cc
6 years, 6 months ago (2014-06-09 14:32:33 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode31 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:31: loadTimeData.getString('detailsText')); On 2014/06/09 14:24:09, felt wrote: > On 2014/06/09 ...
6 years, 6 months ago (2014-06-09 14:45:42 UTC) #5
felt
https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/60001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode31 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:31: loadTimeData.getString('detailsText')); On 2014/06/09 14:45:41, Bernhard Bauer wrote: > On ...
6 years, 6 months ago (2014-06-09 15:24:02 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/319193002/diff/60001/chrome/browser/safe_browsing/safe_browsing_blocking_page.h File chrome/browser/safe_browsing/safe_browsing_blocking_page.h (right): https://codereview.chromium.org/319193002/diff/60001/chrome/browser/safe_browsing/safe_browsing_blocking_page.h#newcode283 chrome/browser/safe_browsing/safe_browsing_blocking_page.h:283: class SafeBrowsingBlockingPageV3 : public SafeBrowsingBlockingPage { On 2014/06/09 15:24:02, ...
6 years, 6 months ago (2014-06-09 15:43:01 UTC) #7
felt
https://codereview.chromium.org/319193002/diff/80001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/80001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode7 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:7: var SB_CMD_DISPLAY_CHECK = 'displaycheckbox'; On 2014/06/09 15:43:00, Bernhard Bauer ...
6 years, 6 months ago (2014-06-09 16:55:27 UTC) #8
Bernhard Bauer
https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode10 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:10: var SB_CMD_EXPANDED_MORE = 'expandedSeeMore'; On 2014/06/09 16:55:27, felt wrote: ...
6 years, 6 months ago (2014-06-09 17:17:10 UTC) #9
palmer
lgtm
6 years, 6 months ago (2014-06-09 17:38:46 UTC) #10
felt
https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode10 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:10: var SB_CMD_EXPANDED_MORE = 'expandedSeeMore'; On 2014/06/09 17:17:10, Bernhard Bauer ...
6 years, 6 months ago (2014-06-09 18:01:36 UTC) #11
edwardjung
I had a suggestion on the CSS classes organisation. https://codereview.chromium.org/319193002/diff/120001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/120001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode57 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:57: ...
6 years, 6 months ago (2014-06-09 18:37:29 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode10 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:10: var SB_CMD_EXPANDED_MORE = 'expandedSeeMore'; On 2014/06/09 18:01:36, felt wrote: ...
6 years, 6 months ago (2014-06-09 21:48:27 UTC) #13
felt
https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/100001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode10 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:10: var SB_CMD_EXPANDED_MORE = 'expandedSeeMore'; On 2014/06/09 21:48:27, Bernhard Bauer ...
6 years, 6 months ago (2014-06-10 05:21:02 UTC) #14
Bernhard Bauer
LGTM, thanks!
6 years, 6 months ago (2014-06-10 07:53:43 UTC) #15
felt
matt, can i get an OWNERS review for chrome/browser/safe_browsing/safe_browsing_blocking_page.cc?
6 years, 6 months ago (2014-06-10 13:35:42 UTC) #16
edwardjung
lgtm
6 years, 6 months ago (2014-06-10 16:14:15 UTC) #17
mattm
https://codereview.chromium.org/319193002/diff/140001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/140001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode20 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:20: function applyMalwareStyle() { It's confusing that "malware" is used ...
6 years, 6 months ago (2014-06-10 23:37:09 UTC) #18
felt
https://codereview.chromium.org/319193002/diff/140001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js File chrome/browser/resources/safe_browsing/safe_browsing_v3.js (right): https://codereview.chromium.org/319193002/diff/140001/chrome/browser/resources/safe_browsing/safe_browsing_v3.js#newcode20 chrome/browser/resources/safe_browsing/safe_browsing_v3.js:20: function applyMalwareStyle() { On 2014/06/10 23:37:08, mattm wrote: > ...
6 years, 6 months ago (2014-06-11 00:12:09 UTC) #19
mattm
What about unittests for the V3 impl?
6 years, 6 months ago (2014-06-11 01:27:31 UTC) #20
felt
On 2014/06/11 01:27:31, mattm wrote: > What about unittests for the V3 impl? I haven't ...
6 years, 6 months ago (2014-06-11 01:46:36 UTC) #21
mattm
https://codereview.chromium.org/319193002/diff/160001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/319193002/diff/160001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode163 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:163: return true; It might be better not to honor ...
6 years, 6 months ago (2014-06-11 02:11:45 UTC) #22
felt
https://codereview.chromium.org/319193002/diff/160001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/319193002/diff/160001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode163 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:163: return true; On 2014/06/11 02:11:45, mattm wrote: > It ...
6 years, 6 months ago (2014-06-11 02:23:30 UTC) #23
mattm
lgtm
6 years, 6 months ago (2014-06-11 02:29:46 UTC) #24
felt
The CQ bit was checked by felt@chromium.org
6 years, 6 months ago (2014-06-11 04:10:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/319193002/190008
6 years, 6 months ago (2014-06-11 04:12:27 UTC) #26
felt
The CQ bit was checked by felt@chromium.org
6 years, 6 months ago (2014-06-11 05:30:00 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/felt@chromium.org/319193002/230001
6 years, 6 months ago (2014-06-11 05:34:05 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 15:51:07 UTC) #29
Message was sent while issue was closed.
Change committed as 276414

Powered by Google App Engine
This is Rietveld 408576698