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

Issue 13737002: New network error pages: Only show an icon when in iframe (Closed)

Created:
7 years, 8 months ago by mmenke
Modified:
7 years, 8 months ago
Reviewers:
Nico, newt (away)
CC:
chromium-reviews, cbentzel+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

New network error pages: Only show an icon (And description on mouse over) when a network error happens in an iframe. Also add the same icon to the main frame error page. BUG=174194 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194509

Patch Set 1 : #

Patch Set 2 : Slightly more consistent markup #

Patch Set 3 : Moved icons to a separate CL #

Patch Set 4 : sync #

Patch Set 5 : Show details instead of error code #

Total comments: 4

Patch Set 6 : Response to comments, increase minimum size requited to show error text #

Patch Set 7 : Add comment #

Total comments: 1

Patch Set 8 : sync #

Patch Set 9 : sync #

Patch Set 10 : Add todo #

Total comments: 8

Patch Set 11 : Response to comments (embed images, move subframe CSS) #

Total comments: 4

Patch Set 12 : Switch to flexbox #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -20 lines) Patch
M chrome/renderer/resources/neterror.html View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +98 lines, -20 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
mmenke
Is this a reasonable way to add an icon to a page generated by the ...
7 years, 8 months ago (2013-04-05 18:05:41 UTC) #1
mmenke
tony: Ping!
7 years, 8 months ago (2013-04-09 17:53:01 UTC) #2
mmenke
[newt]: Mind reviewing another of these? Not sure about using a single HTML document for ...
7 years, 8 months ago (2013-04-10 15:45:05 UTC) #3
newt (away)
this looks OK to me. I agree that putting two separate pages in the same ...
7 years, 8 months ago (2013-04-10 21:10:20 UTC) #4
mmenke
Thanks so much for the feedback! https://codereview.chromium.org/13737002/diff/42001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/13737002/diff/42001/chrome/renderer/resources/neterror.html#newcode17 chrome/renderer/resources/neterror.html:17: #mainFrameError { On ...
7 years, 8 months ago (2013-04-10 21:32:57 UTC) #5
mmenke
[+thakis]: Please review both files. I'm using a single file for both the subframe and ...
7 years, 8 months ago (2013-04-12 14:14:00 UTC) #6
mmenke
[newt]: Could you sign off on this? [thakis]: Ping! Looks like you may have a ...
7 years, 8 months ago (2013-04-16 14:52:36 UTC) #7
newt (away)
lgtm with one nit https://codereview.chromium.org/13737002/diff/53001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/13737002/diff/53001/chrome/renderer/resources/neterror.html#newcode89 chrome/renderer/resources/neterror.html:89: .failedUrl { remove this. looks ...
7 years, 8 months ago (2013-04-16 17:14:09 UTC) #8
mmenke
On 2013/04/16 17:14:09, newt wrote: > lgtm with one nit > > https://codereview.chromium.org/13737002/diff/53001/chrome/renderer/resources/neterror.html > File ...
7 years, 8 months ago (2013-04-16 17:30:52 UTC) #9
newt (away)
ah, lgtm then
7 years, 8 months ago (2013-04-16 17:40:36 UTC) #10
Nico
Sorry for the delay, I was mostly afk for the last 4 days and I'm ...
7 years, 8 months ago (2013-04-16 23:15:11 UTC) #11
mmenke
https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc#newcode661 chrome/common/localized_error.cc:661: IDR_ERROR_NETWORK_GENERIC, ui::GetMaxScaleFactor()), On 2013/04/16 23:15:11, Nico wrote: > This ...
7 years, 8 months ago (2013-04-16 23:23:02 UTC) #12
mmenke
https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc#newcode661 chrome/common/localized_error.cc:661: IDR_ERROR_NETWORK_GENERIC, ui::GetMaxScaleFactor()), On 2013/04/16 23:23:02, mmenke wrote: > On ...
7 years, 8 months ago (2013-04-16 23:27:18 UTC) #13
Nico
Since you don't have access to chrome:// urls, have you tried just putting a relative ...
7 years, 8 months ago (2013-04-16 23:27:20 UTC) #14
Nico
On Tue, Apr 16, 2013 at 4:27 PM, <mmenke@chromium.org> wrote: > > https://codereview.chromium.**org/13737002/diff/67001/** > chrome/common/localized_error.**cc<https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc> ...
7 years, 8 months ago (2013-04-16 23:31:55 UTC) #15
mmenke
https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://codereview.chromium.org/13737002/diff/67001/chrome/common/localized_error.cc#newcode661 chrome/common/localized_error.cc:661: IDR_ERROR_NETWORK_GENERIC, ui::GetMaxScaleFactor()), On 2013/04/16 23:27:18, mmenke wrote: > On ...
7 years, 8 months ago (2013-04-16 23:57:30 UTC) #16
mmenke
Oh, and no worries about your review speed. Was just concerned you may be OOO.
7 years, 8 months ago (2013-04-16 23:59:11 UTC) #17
Nico
If you think having a single file is better, then let's do that. lgtm. https://codereview.chromium.org/13737002/diff/74001/chrome/renderer/resources/neterror.html ...
7 years, 8 months ago (2013-04-17 00:03:08 UTC) #18
mmenke
https://codereview.chromium.org/13737002/diff/74001/chrome/renderer/resources/neterror.html File chrome/renderer/resources/neterror.html (right): https://codereview.chromium.org/13737002/diff/74001/chrome/renderer/resources/neterror.html#newcode190 chrome/renderer/resources/neterror.html:190: overflow: hidden; On 2013/04/17 00:03:08, Nico wrote: > Do ...
7 years, 8 months ago (2013-04-17 00:33:32 UTC) #19
Nico
lgtm!
7 years, 8 months ago (2013-04-17 00:37:11 UTC) #20
mmenke
On 2013/04/17 00:37:11, Nico wrote: > lgtm! Thanks so much for all the reviews (And ...
7 years, 8 months ago (2013-04-17 00:38:25 UTC) #21
mmenke
7 years, 8 months ago (2013-04-17 01:40:39 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 manually as r194509 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698