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

Issue 2773023003: Add more data to net-internals view of DNS cache (Closed)

Created:
3 years, 9 months ago by mgersh
Modified:
3 years, 8 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, net-reviews_chromium.org, bnc+watch_chromium.org, arv+watch_chromium.org, mmenke
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add more data to net-internals view of DNS cache The cache can now have entries that are expired because they're from a different network, but are still stored in the cache. This change updates net-internals to expose that information, and also exposes the TTL for easier debugging. BUG=703821 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2773023003 Cr-Commit-Position: refs/heads/master@{#460548} Committed: https://chromium.googlesource.com/chromium/src/+/7a7492161dee610c0464a8f8f61b61e72db0613a

Patch Set 1 #

Total comments: 10

Patch Set 2 : address comments #

Patch Set 3 : undefined -> empty string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -6 lines) Patch
M chrome/browser/resources/net_internals/dns_view.html View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/net_internals/dns_view.js View 1 2 6 chunks +34 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc View 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/test/data/webui/net_internals/dns_view.js View 1 4 chunks +68 lines, -3 lines 0 comments Download
M net/dns/host_cache.h View 3 chunks +4 lines, -2 lines 0 comments Download
M net/log/net_log_util.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
mgersh
PTAL
3 years, 9 months ago (2017-03-24 16:27:47 UTC) #3
mgersh
Ping?
3 years, 8 months ago (2017-03-28 22:00:41 UTC) #4
eroman
Thanks for the ping, slipped my queue!
3 years, 8 months ago (2017-03-28 22:31:36 UTC) #5
eroman
lgtm https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js File chrome/browser/resources/net_internals/dns_view.js (right): https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js#newcode89 chrome/browser/resources/net_internals/dns_view.js:89: $(DnsView.NETWORK_SPAN_ID).innerText = hostResolverCache.network_changes; When loading older log files, ...
3 years, 8 months ago (2017-03-28 22:41:59 UTC) #6
mgersh
One more question besides the one about "undefined": will this have to be merged to ...
3 years, 8 months ago (2017-03-29 18:15:25 UTC) #7
eroman
https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js File chrome/browser/resources/net_internals/dns_view.js (right): https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js#newcode89 chrome/browser/resources/net_internals/dns_view.js:89: $(DnsView.NETWORK_SPAN_ID).innerText = hostResolverCache.network_changes; On 2017/03/29 18:15:25, mgersh wrote: > ...
3 years, 8 months ago (2017-03-29 18:36:11 UTC) #8
eroman
> One more question besides the one about "undefined": will this have to be merged ...
3 years, 8 months ago (2017-03-29 18:36:36 UTC) #9
mgersh
https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js File chrome/browser/resources/net_internals/dns_view.js (right): https://codereview.chromium.org/2773023003/diff/1/chrome/browser/resources/net_internals/dns_view.js#newcode89 chrome/browser/resources/net_internals/dns_view.js:89: $(DnsView.NETWORK_SPAN_ID).innerText = hostResolverCache.network_changes; On 2017/03/29 18:36:11, eroman wrote: > ...
3 years, 8 months ago (2017-03-29 20:20:53 UTC) #10
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/2773023003/40001
3 years, 8 months ago (2017-03-29 20:21:54 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 22:14:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7a7492161dee610c0464a8f8f61b...

Powered by Google App Engine
This is Rietveld 408576698