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

Issue 12277011: New network error pages, part 1. (Closed)

Created:
7 years, 10 months ago by mmenke
Modified:
7 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

New network error pages, part 1. Significantly changes the layout of the network error pages, and makes the summary/suggestions pane hidden by default. BUG=174194 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191712

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : Fix linux #

Patch Set 4 : sync #

Patch Set 5 : fix test #

Patch Set 6 : Change less stuff after first display #

Patch Set 7 : #

Patch Set 8 : Add iOS to first ifdef #

Total comments: 15

Patch Set 9 : Response to comments, sync #

Total comments: 4

Patch Set 10 : Response to comments #

Patch Set 11 : sync #

Total comments: 8

Patch Set 12 : Response to comments #

Patch Set 13 : Alphabetize #

Patch Set 14 : Go back to using <if> for font sizes #

Total comments: 2

Patch Set 15 : Remove platform dependent font sizes, remove change to test (Landed separately) #

Total comments: 21

Patch Set 16 : Response to comments, remove most new Javascript #

Patch Set 17 : Fix signed / unsigned comparison #

Patch Set 18 : Use hard-coded fonts again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -211 lines) Patch
M chrome/app/generated_resources.grd View 3 chunks +11 lines, -17 lines 0 comments Download
M chrome/common/localized_error.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 9 chunks +42 lines, -62 lines 0 comments Download
M chrome/renderer/resources/neterror.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +174 lines, -132 lines 0 comments Download

Messages

Total messages: 60 (0 generated)
mmenke
Sample pages: Desktop: https://www.corp.google.com/~mmenke/error.htm Mobile: https://www.corp.google.com/~mmenke/error-mobile.htm (Mobile may not exactly match set 7, but it's ...
7 years, 10 months ago (2013-02-22 20:12:31 UTC) #1
mmenke
[+eroman]: Mind reviewing this? I'll be doing some changes to the text and suggestions in ...
7 years, 10 months ago (2013-02-25 18:33:46 UTC) #2
mmenke
https://chromiumcodereview.appspot.com/12277011/diff/47003/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://chromiumcodereview.appspot.com/12277011/diff/47003/chrome/common/localized_error.cc#newcode411 chrome/common/localized_error.cc:411: IDS_ERRORPAGES_DETAILS_NULL, Admittedly, getting rid of this isn't part of ...
7 years, 10 months ago (2013-02-25 18:38:51 UTC) #3
mmenke
Forgot to link the mocks: desktop: https://www.corp.google.com/~kenmoore/mocks/chrome/ErrorPages/Pass4/chrome-errors-rev7.html mobile: https://docs.google.com/a/google.com/folder/d/0B21JpVYxVLsAUmktYkJLRXk5S00/edit
7 years, 10 months ago (2013-02-25 20:27:32 UTC) #4
newt (away)
Looks generally good, thanks! I have a couple small comments inline, and two design spec ...
7 years, 10 months ago (2013-02-25 23:07:52 UTC) #5
mmenke
On 2013/02/25 23:07:52, newt wrote: > Looks generally good, thanks! > > I have a ...
7 years, 10 months ago (2013-02-25 23:18:07 UTC) #6
mmenke
Thanks for the feedback! https://codereview.chromium.org/12277011/diff/47003/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/12277011/diff/47003/chrome/common/localized_error.cc#newcode485 chrome/common/localized_error.cc:485: error_string = base::IntToString16(error_code); On 2013/02/25 ...
7 years, 10 months ago (2013-02-26 03:46:59 UTC) #7
newt (away)
lgtm https://codereview.chromium.org/12277011/diff/47003/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/47003/chrome/renderer/resources/neterror.html#newcode14 chrome/renderer/resources/neterror.html:14: <if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> Odd. This ...
7 years, 10 months ago (2013-02-27 02:04:14 UTC) #8
mmenke
Thanks! https://codereview.chromium.org/12277011/diff/47003/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/47003/chrome/renderer/resources/neterror.html#newcode14 chrome/renderer/resources/neterror.html:14: <if expr="not pp_ifdef('android') and not pp_ifdef('ios')"> On 2013/02/27 ...
7 years, 10 months ago (2013-02-27 02:11:01 UTC) #9
eroman
lgtm https://codereview.chromium.org/12277011/diff/45004/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/12277011/diff/45004/chrome/common/localized_error.cc#newcode438 chrome/common/localized_error.cc:438: // If there are any suggestions other than ...
7 years, 10 months ago (2013-02-27 02:26:16 UTC) #10
mmenke
Thanks! https://chromiumcodereview.appspot.com/12277011/diff/45004/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://chromiumcodereview.appspot.com/12277011/diff/45004/chrome/common/localized_error.cc#newcode438 chrome/common/localized_error.cc:438: // If there are any suggestions other than ...
7 years, 10 months ago (2013-02-27 02:43:01 UTC) #11
mmenke
[+thakis]: For OWNERs review.
7 years, 10 months ago (2013-02-27 02:55:37 UTC) #12
mmenke
On 2013/02/27 02:55:37, mmenke wrote: > [+thakis]: For OWNERs review. thakis: Ping!
7 years, 9 months ago (2013-03-01 20:50:03 UTC) #13
Nico
Sorry, I missed this. Feel free to ping me a lot earlier (after 4h or ...
7 years, 9 months ago (2013-03-04 08:22:35 UTC) #14
mmenke
Thanks for the feedback! https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html#newcode19 chrome/renderer/resources/neterror.html:19: margin: 15px; On 2013/03/04 08:22:35, ...
7 years, 9 months ago (2013-03-04 21:24:11 UTC) #15
mmenke
On 2013/03/04 21:24:11, mmenke wrote: > Thanks for the feedback! > > https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html > File ...
7 years, 9 months ago (2013-03-04 21:24:58 UTC) #16
Nico
https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html#newcode19 chrome/renderer/resources/neterror.html:19: margin: 15px; On 2013/03/04 21:24:11, mmenke wrote: > On ...
7 years, 9 months ago (2013-03-04 21:28:49 UTC) #17
mmenke
https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html#newcode19 chrome/renderer/resources/neterror.html:19: margin: 15px; On 2013/03/04 21:28:50, Nico wrote: > On ...
7 years, 9 months ago (2013-03-04 23:10:41 UTC) #18
mmenke
https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/54001/chrome/renderer/resources/neterror.html#newcode19 chrome/renderer/resources/neterror.html:19: margin: 15px; On 2013/03/04 23:10:41, mmenke wrote: > On ...
7 years, 9 months ago (2013-03-05 15:02:49 UTC) #19
Nico
(Sorry, I likely won't be able to look at again this before Thu) On Tue, ...
7 years, 9 months ago (2013-03-05 15:06:23 UTC) #20
mmenke
On 2013/03/05 15:06:23, Nico wrote: > (Sorry, I likely won't be able to look at ...
7 years, 9 months ago (2013-03-05 15:12:33 UTC) #21
Nico
Sorry, forgot about this. Maybe johnme has a good suggestion on what to do about ...
7 years, 9 months ago (2013-03-12 00:03:55 UTC) #22
mmenke
On 2013/03/12 00:03:55, Nico wrote: > Sorry, forgot about this. > > Maybe johnme has ...
7 years, 9 months ago (2013-03-12 00:09:34 UTC) #23
johnme
Can you give more context? I see that there's a width=device-width viewport, which is good ...
7 years, 9 months ago (2013-03-12 13:41:54 UTC) #24
mmenke
I'm adhering to mocks that I did not create. The font sizes on Android/iOS had ...
7 years, 9 months ago (2013-03-12 13:49:45 UTC) #25
mmenke
Mobile has larger buttons, rather. Again, using the larger buttons on desktop looks really weird ...
7 years, 9 months ago (2013-03-12 13:51:40 UTC) #26
mmenke
Go to https://www.corp.google.com/~mmenke/error.htm on desktop. Notice that the text in the page is about the ...
7 years, 9 months ago (2013-03-12 14:41:24 UTC) #27
johnme
> I'm adhering to mocks that I did not create. The font sizes on Android/iOS ...
7 years, 9 months ago (2013-03-12 14:42:39 UTC) #28
mmenke
You're probably looking at the wrong version of the page. That one detected touch support ...
7 years, 9 months ago (2013-03-12 14:44:10 UTC) #29
mmenke
And "near illegible" might be exaggerating a little, but it's definitely small enough to not ...
7 years, 9 months ago (2013-03-12 14:44:58 UTC) #30
mmenke
And since you're using the pixel, which has touch, you're seeing the "mobile" version on ...
7 years, 9 months ago (2013-03-12 14:46:07 UTC) #31
johnme
While we're discussing this page, is this the best UI for DNS errors? Telling the ...
7 years, 9 months ago (2013-03-12 15:04:44 UTC) #32
mmenke
On Tue, Mar 12, 2013 at 11:04 AM, John Mellor <johnme@chromium.org> wrote: > While we're ...
7 years, 9 months ago (2013-03-12 15:14:05 UTC) #33
mmenke
On 2013/03/12 15:14:05, mmenke wrote: > On Tue, Mar 12, 2013 at 11:04 AM, John ...
7 years, 9 months ago (2013-03-12 15:41:42 UTC) #34
johnme
> The desktop page uses about the same font size as about:settings. It may actually ...
7 years, 9 months ago (2013-03-12 15:46:56 UTC) #35
mmenke
On Tue, Mar 12, 2013 at 11:46 AM, John Mellor <johnme@chromium.org> wrote: > > The ...
7 years, 9 months ago (2013-03-12 15:56:28 UTC) #36
mmenke
On 2013/03/12 15:56:28, mmenke wrote: > On Tue, Mar 12, 2013 at 11:46 AM, John ...
7 years, 9 months ago (2013-03-12 16:38:54 UTC) #37
mmenke
On 2013/03/12 16:38:54, mmenke wrote: > On 2013/03/12 15:56:28, mmenke wrote: > > On Tue, ...
7 years, 9 months ago (2013-03-12 16:44:46 UTC) #38
mmenke
I've gone ahead and switched to using the default platform font everywhere (Which the page ...
7 years, 9 months ago (2013-03-26 16:29:55 UTC) #39
mmenke
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode50 chrome/renderer/resources/neterror.html:50: font-weight: normal; Without a font size, this is currently ...
7 years, 9 months ago (2013-03-26 16:32:09 UTC) #40
Nico
Thanks, this looks much better. A bunch of nits, the only real comment is about ...
7 years, 9 months ago (2013-03-26 17:56:30 UTC) #41
Nico
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 chrome/renderer/resources/neterror.html:202: * Makes the reload and more / less buttons ...
7 years, 9 months ago (2013-03-26 18:14:33 UTC) #42
tony
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 chrome/renderer/resources/neterror.html:202: * Makes the reload and more / less buttons ...
7 years, 9 months ago (2013-03-26 18:33:04 UTC) #43
mmenke1
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 chrome/renderer/resources/neterror.html:202: * Makes the reload and more / less buttons ...
7 years, 9 months ago (2013-03-26 18:40:38 UTC) #44
mmenke1
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 chrome/renderer/resources/neterror.html:202: * Makes the reload and more / less buttons ...
7 years, 9 months ago (2013-03-26 18:44:52 UTC) #45
Nico
https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 chrome/renderer/resources/neterror.html:202: * Makes the reload and more / less buttons ...
7 years, 9 months ago (2013-03-26 18:45:26 UTC) #46
newt (away)
On 2013/03/26 18:45:26, Nico wrote: > https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html > File chrome/renderer/resources/neterror.html (right): > > https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html#newcode202 > ...
7 years, 9 months ago (2013-03-26 18:47:54 UTC) #47
mmenke1
On 2013/03/26 18:47:54, newt wrote: > On 2013/03/26 18:45:26, Nico wrote: > > > https://codereview.chromium.org/12277011/diff/106001/chrome/renderer/resources/neterror.html ...
7 years, 9 months ago (2013-03-26 18:48:59 UTC) #48
mmenke
On 2013/03/26 18:48:59, mmenke (incorrect) wrote: > On 2013/03/26 18:47:54, newt wrote: > > On ...
7 years, 9 months ago (2013-03-26 18:55:34 UTC) #49
mmenke
On 2013/03/26 18:55:34, mmenke wrote: > On 2013/03/26 18:48:59, mmenke (incorrect) wrote: > > On ...
7 years, 9 months ago (2013-03-26 18:59:14 UTC) #50
mmenke
https://codereview.chromium.org/12277011/diff/106001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/12277011/diff/106001/chrome/common/localized_error.cc#newcode35 chrome/common/localized_error.cc:35: #define IDS_ERRORPAGES_DETAILS_NULL 0 On 2013/03/26 17:56:31, Nico wrote: > ...
7 years, 9 months ago (2013-03-26 19:22:36 UTC) #51
Nico
lgtm ps: The bug suggests that all error pages should be restyled. To prevent shipping ...
7 years, 9 months ago (2013-03-26 20:17:37 UTC) #52
mmenke1
On 2013/03/26 20:17:37, Nico wrote: > lgtm > > ps: The bug suggests that all ...
7 years, 9 months ago (2013-03-26 20:34:07 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/12277011/105009
7 years, 9 months ago (2013-03-27 14:27:52 UTC) #54
mmenke
On 2013/03/27 14:27:52, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
7 years, 9 months ago (2013-03-27 16:31:50 UTC) #55
mmenke
thakis: I've had to go back to using hard-coded font face and size (I went ...
7 years, 8 months ago (2013-04-01 20:56:09 UTC) #56
Nico
still lgtm
7 years, 8 months ago (2013-04-01 21:26:18 UTC) #57
mmenke
On 2013/04/01 21:26:18, Nico wrote: > still lgtm Thanks again (And sorry for the extra ...
7 years, 8 months ago (2013-04-01 21:33:09 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/12277011/131001
7 years, 8 months ago (2013-04-01 21:34:40 UTC) #59
commit-bot: I haz the power
7 years, 8 months ago (2013-04-02 00:13:43 UTC) #60
Message was sent while issue was closed.
Change committed as 191712

Powered by Google App Engine
This is Rietveld 408576698