Index: chrome/browser/resources/net_internals/spdy_view.js |
diff --git a/chrome/browser/resources/net_internals/spdy_view.js b/chrome/browser/resources/net_internals/spdy_view.js |
index cf5ddbf6d77ae7ca4a497903d1a2adfcd2df8bd2..b8631048b1f32b1e86ef96920e18d8fb76b295f4 100644 |
--- a/chrome/browser/resources/net_internals/spdy_view.js |
+++ b/chrome/browser/resources/net_internals/spdy_view.js |
@@ -157,7 +157,13 @@ var SpdyView = (function() { |
var session = spdySessions[i]; |
tablePrinter.addRow(); |
- tablePrinter.addCell(session.host_port_pair); |
+ var host = session.host_port_pair; |
+ if (session.aliases) { |
+ for (var j = 0; j < session.aliases.length; j++) { |
+ host = host + ' ' + session.aliases[j]; |
eroman
2012/03/13 20:08:42
This can be simplified using string.join():
var h
Ryan Hamilton
2012/03/13 21:55:37
Done. Totally agree with you, and as it happens,
|
+ } |
+ } |
+ tablePrinter.addCell(host); |
tablePrinter.addCell(session.proxy); |
var idCell = tablePrinter.addCell(session.source_id); |