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

Issue 23434002: DNS probes: several tweaks to error page updating (Closed)

Created:
7 years, 3 months ago by Deprecated (see juliatuttle)
Modified:
7 years, 3 months ago
Reviewers:
James Hawkins, mmenke
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

DNS probes: several tweaks to error page updating 1. Re-render the entire error page, not just the details, so we can see the new title (in the NO_INTERNET case). 2. Choose icon-offline for the NO_INTERNET case. 3. Remove the old icon class when filling in the new one. BUG=156415 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220066

Patch Set 1 #

Patch Set 2 : Fix mmenke's nit from the original CL #

Total comments: 3

Patch Set 3 : Remember and remove old icon class instead of removing all of them #

Total comments: 4

Patch Set 4 : Nits, plus indent neterror.html consistently. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -42 lines) Patch
M chrome/common/localized_error.cc View 1 2 3 2 chunks +13 lines, -4 lines 0 comments Download
M chrome/renderer/resources/neterror.html View 1 2 3 1 chunk +40 lines, -36 lines 0 comments Download
M chrome/renderer/resources/neterror.js View 1 2 3 1 chunk +22 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Deprecated (see juliatuttle)
PTAL, mmenke.
7 years, 3 months ago (2013-08-26 19:26:13 UTC) #1
mmenke
https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js#newcode39 chrome/renderer/resources/neterror.js:39: classList.add(newClass); I wonder about this scaling. Not too bad ...
7 years, 3 months ago (2013-08-26 19:34:42 UTC) #2
Deprecated (see juliatuttle)
https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js#newcode39 chrome/renderer/resources/neterror.js:39: classList.add(newClass); On 2013/08/26 19:34:42, mmenke wrote: > I wonder ...
7 years, 3 months ago (2013-08-26 20:24:40 UTC) #3
mmenke
On 2013/08/26 20:24:40, ttuttle wrote: > https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js > File chrome/renderer/resources/neterror.js (right): > > https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js#newcode39 > ...
7 years, 3 months ago (2013-08-26 20:26:24 UTC) #4
Deprecated (see juliatuttle)
PTAL, mmenke. https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js#newcode39 chrome/renderer/resources/neterror.js:39: classList.add(newClass); On 2013/08/26 20:24:40, ttuttle wrote: > ...
7 years, 3 months ago (2013-08-26 21:44:17 UTC) #5
mmenke
On 2013/08/26 21:44:17, ttuttle wrote: > PTAL, mmenke. > > https://chromiumcodereview.appspot.com/23434002/diff/4001/chrome/renderer/resources/neterror.js > File chrome/renderer/resources/neterror.js (right): ...
7 years, 3 months ago (2013-08-27 14:25:47 UTC) #6
Deprecated (see juliatuttle)
Adding jhawkins for OWNERS review.
7 years, 3 months ago (2013-08-27 16:46:23 UTC) #7
James Hawkins
LGTM with nits. https://chromiumcodereview.appspot.com/23434002/diff/17001/chrome/common/localized_error.cc File chrome/common/localized_error.cc (right): https://chromiumcodereview.appspot.com/23434002/diff/17001/chrome/common/localized_error.cc#newcode486 chrome/common/localized_error.cc:486: } else { Optional nit: else ...
7 years, 3 months ago (2013-08-27 18:07:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/23434002/32001
7 years, 3 months ago (2013-08-28 15:39:16 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 19:01:29 UTC) #10
Message was sent while issue was closed.
Change committed as 220066

Powered by Google App Engine
This is Rietveld 408576698