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

Unified Diff: chrome/browser/resources/net_internals/source_entry.js

Issue 11663014: [net-internals] Remove resolved hostname from UDP_SOCKET event description. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add another test instead of removing the code. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/source_entry.js
diff --git a/chrome/browser/resources/net_internals/source_entry.js b/chrome/browser/resources/net_internals/source_entry.js
index fb251e8c6b012ea8ebb47f77e22b88e8e9950a78..cc3b42992552c3db1ea1ad57413bda9465b9db6b 100644
--- a/chrome/browser/resources/net_internals/source_entry.js
+++ b/chrome/browser/resources/net_internals/source_entry.js
@@ -117,6 +117,7 @@ var SourceEntry = (function() {
// If the parent of |this| is a HOST_RESOLVER_IMPL_JOB, use
// '<DNS Server IP> [<host we're resolving>]'.
if (this.entries_[0].type == EventType.SOCKET_ALIVE &&
+ this.entries_[0].params &&
this.entries_[0].params.source_dependency != undefined) {
var parentId = this.entries_[0].params.source_dependency.id;
var parent = SourceTracker.getInstance().getSourceEntry(parentId);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698