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

Issue 2837233002: Reland of SafeBrowsing: update interstitial layouts (Closed)

Created:
3 years, 8 months ago by Nate Fischer
Modified:
3 years, 7 months ago
Reviewers:
edwardjung, felt, Jialiu Lin
CC:
chromium-reviews, felt, Nathan Parker
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of SafeBrowsing: update interstitial layouts (patchset #1 id:1 of https://codereview.chromium.org/2842633002/ ) Reason for revert: Fixing build issues Original issue's description: > Revert of SafeBrowsing: update interstitial layouts (patchset #7 id:120001 of https://codereview.chromium.org/2788323002/ ) > > Reason for revert: > This looks like the cause of failures here: https://uberchromegw.corp.google.com/i/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29 > > First seen here: > https://uberchromegw.corp.google.com/i/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/37590 > > Original issue's description: > > SafeBrowsing: change interstitial sizes > > > > This CL changes the CSS max-height, max-width, etc. dimensions for > > determining when to use mobile vs. desktop interstitial layouts. In > > particular, it targets: > > > > * wide and short views -> mobile landscape > > * skinny and tall views -> mobile portrait > > * wide and medium-height -> mobile landscape (w/ details on the same page) > > > > The phablet layout has been removed because it seems to actually be better > > to just use the mobile layout instead. > > > > This also allows the mobile layout to remain centered even for very wide > > views (parts of it were left-justified before), and reduces the > > top-margin for the icon in the mobile layout, since we were leaving a > > huge gap. > > > > BUG=707481 > > > > Review-Url: https://codereview.chromium.org/2788323002 > > Cr-Commit-Position: refs/heads/master@{#466746} > > Committed: https://chromium.googlesource.com/chromium/src/+/2f0527c9fcfdb3b53628acec1b3195563f71ec51 > > TBR=edwardjung@chromium.org,nparker@chromium.org,ntfschr@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=707481 > > Review-Url: https://codereview.chromium.org/2842633002 > Cr-Commit-Position: refs/heads/master@{#466811} > Committed: https://chromium.googlesource.com/chromium/src/+/06dfd71d425ac5b0c7cef3060aee354946dc13b9 TBR=edwardjung@chromium.org,nparker@chromium.org,hcarmona@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=707481 Review-Url: https://codereview.chromium.org/2837233002 Cr-Commit-Position: refs/heads/master@{#467789} Committed: https://chromium.googlesource.com/chromium/src/+/9a822f4b8c9d7d1ec7df123e48d24118ad102f00

Patch Set 1 #

Patch Set 2 : Properly set hidden class to fix test failures #

Total comments: 5

Patch Set 3 : Use 5.5vh instead for details padding-top #

Patch Set 4 : Revert previous changes, fix the JS code in test #

Patch Set 5 : Remove padding from hidden elements, add it to visible elements #

Total comments: 4

Patch Set 6 : Fix nits #

Total comments: 4

Patch Set 7 : Fix formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -151 lines) Patch
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 1 chunk +20 lines, -7 lines 0 comments Download
M components/security_interstitials/core/browser/resources/interstitial_v2.css View 1 2 3 4 5 6 chunks +27 lines, -140 lines 0 comments Download
M components/security_interstitials/core/browser/resources/interstitial_v2_mobile.js View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 52 (27 generated)
Nate Fischer
Created Reland of SafeBrowsing: update interstitial layouts
3 years, 8 months ago (2017-04-25 00:19:08 UTC) #1
Nate Fischer
edwardjung@, could you take another look? The test failures happened because ChromeOS tests create a ...
3 years, 8 months ago (2017-04-25 08:17:00 UTC) #6
edwardjung
https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css File components/security_interstitials/core/browser/resources/interstitial_v2.css (right): https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css#newcode128 components/security_interstitials/core/browser/resources/interstitial_v2.css:128: transition: none; Are you sure this fixes the issue? ...
3 years, 8 months ago (2017-04-25 10:32:04 UTC) #7
Nate Fischer
https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css File components/security_interstitials/core/browser/resources/interstitial_v2.css (right): https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css#newcode128 components/security_interstitials/core/browser/resources/interstitial_v2.css:128: transition: none; On 2017/04/25 at 10:32:04, edwardjung wrote: > ...
3 years, 8 months ago (2017-04-25 19:04:43 UTC) #9
edwardjung
https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css File components/security_interstitials/core/browser/resources/interstitial_v2.css (right): https://codereview.chromium.org/2837233002/diff/60001/components/security_interstitials/core/browser/resources/interstitial_v2.css#newcode128 components/security_interstitials/core/browser/resources/interstitial_v2.css:128: transition: none; Apologies, I missed the removal of that ...
3 years, 8 months ago (2017-04-25 19:50:04 UTC) #13
Nate Fischer
> That block wasn't a bug. The idea behind using opacity was so that the ...
3 years, 8 months ago (2017-04-26 02:04:45 UTC) #18
Nate Fischer
> That block wasn't a bug. The idea behind using opacity was so that the ...
3 years, 8 months ago (2017-04-26 02:04:46 UTC) #19
Nate Fischer
cc'ing felt in case she has any suggestions on improving test robustness.
3 years, 8 months ago (2017-04-26 02:07:15 UTC) #21
edwardjung
On 2017/04/26 02:04:46, Nate Fischer wrote: > > That block wasn't a bug. The idea ...
3 years, 8 months ago (2017-04-26 20:22:17 UTC) #22
Nate Fischer
On 2017/04/26 20:22:17, edwardjung wrote: > On 2017/04/26 02:04:46, Nate Fischer wrote: > > > ...
3 years, 8 months ago (2017-04-26 21:03:04 UTC) #23
Nate Fischer
Ok, I think this should pass tests now. PS4: - This reverts my other changes ...
3 years, 8 months ago (2017-04-26 22:06:44 UTC) #31
edwardjung
Thanks for test fix. Just a couple of small things. https://codereview.chromium.org/2837233002/diff/120001/components/security_interstitials/core/browser/resources/interstitial_v2.css File components/security_interstitials/core/browser/resources/interstitial_v2.css (right): https://codereview.chromium.org/2837233002/diff/120001/components/security_interstitials/core/browser/resources/interstitial_v2.css#newcode421 ...
3 years, 7 months ago (2017-04-27 10:14:29 UTC) #32
Nate Fischer
Thanks, Edward! https://codereview.chromium.org/2837233002/diff/120001/components/security_interstitials/core/browser/resources/interstitial_v2.css File components/security_interstitials/core/browser/resources/interstitial_v2.css (right): https://codereview.chromium.org/2837233002/diff/120001/components/security_interstitials/core/browser/resources/interstitial_v2.css#newcode421 components/security_interstitials/core/browser/resources/interstitial_v2.css:421: padding-bottom: 0; On 2017/04/27 10:14:29, edwardjung wrote: ...
3 years, 7 months ago (2017-04-27 18:46:08 UTC) #34
edwardjung
You need to upload a new PS but lgtm
3 years, 7 months ago (2017-04-27 18:56:24 UTC) #35
Nate Fischer
On 2017/04/27 18:56:24, edwardjung wrote: > You need to upload a new PS but lgtm ...
3 years, 7 months ago (2017-04-27 18:58:35 UTC) #36
felt
surprise owners lgtm for /security_interstitials/ (sorry, ya still have to wait for nparker for /safebrowsing/) ...
3 years, 7 months ago (2017-04-27 20:13:47 UTC) #38
Jialiu Lin
LGTM for chrome/browser/safe_browsing :-) https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode579 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:579: node_id + R"(')));)"; nit: strange ...
3 years, 7 months ago (2017-04-27 20:44:41 UTC) #40
Nate Fischer
Thanks, felt@ and Jialiu! https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode579 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:579: node_id + R"(')));)"; On 2017/04/27 ...
3 years, 7 months ago (2017-04-27 20:47:54 UTC) #41
Jialiu Lin
https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode579 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc:579: node_id + R"(')));)"; On 2017/04/27 20:47:54, Nate Fischer wrote: ...
3 years, 7 months ago (2017-04-27 20:51:37 UTC) #42
Nate Fischer
On 2017/04/27 20:51:37, Jialiu Lin wrote: > https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc > File chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (right): > > https://codereview.chromium.org/2837233002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc#newcode579 ...
3 years, 7 months ago (2017-04-27 21:07:59 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2837233002/160001
3 years, 7 months ago (2017-04-27 21:09:07 UTC) #46
commit-bot: I haz the power
Committed patchset #7 (id:160001) as https://chromium.googlesource.com/chromium/src/+/9a822f4b8c9d7d1ec7df123e48d24118ad102f00
3 years, 7 months ago (2017-04-27 21:09:52 UTC) #49
Nate Fischer
A revert of this CL (patchset #7 id:160001) has been created in https://codereview.chromium.org/2848483004/ by ntfschr@chromium.org. ...
3 years, 7 months ago (2017-04-27 22:29:42 UTC) #50
pfeldman
A revert of this CL (patchset #7 id:160001) has been created in https://codereview.chromium.org/2845093006/ by pfeldman@chromium.org. ...
3 years, 7 months ago (2017-04-27 22:29:52 UTC) #51
findit-for-me
3 years, 7 months ago (2017-04-27 22:46:44 UTC) #52
Message was sent while issue was closed.
Findit(https://goo.gl/kROfz5) identified this CL at revision 467789 as the
culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Powered by Google App Engine
This is Rietveld 408576698