summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/spdy_view.html
blob: dd1bc166ef1886cbca614ce6436e73093cbd03aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<div id=spdy-view-tab-content class=content-box>
  <ul id=spdy-view-status style='margin-top:0'>
    <!-- "enable_http2" and "enable_spdy31" are used since release 50, see
         https://crrev.com/1651123002.  "spdy_enabled" is here to support
         importing netlog json files from earlier browsers.
         TODO(bnc): Deprecate around 2016 July. -->
    <li>HTTP/2 Enabled: <span jscontent="$this.enable_http2 == undefined ? $this.spdy_enabled : $this.enable_http2"></span></li>
    <li>SPDY/3.1 Enabled: <span jscontent="$this.enable_spdy31 == undefined ? $this.spdy_enabled : $this.enable_spdy31"></span></li>
    <!-- "use_alternative_service" is used here since release 46, see
         https://crrev.com/1268313004.  "use_alternate_protocols" is here to
         support importing netlog json files from earlier browsers.
         TODO(bnc): Deprecate around 2016 February. -->
    <li>Use Alternative Service: <span jscontent="$this.use_alternative_services == undefined ? $this.use_alternate_protocols : $this.use_alternative_services"></span></li>
    <!-- "alpn_protos" and "npn_protos" are used here since release 48, see
         https://crrev.com/1387363004.  "next_protos" is here to support
         importing netlog json files from earlier browsers.
         TODO(bnc): Deprecate around 2016 April. -->
    <li>ALPN Protocols: <span jscontent="$this.alpn_protos || $this.next_protos"></span></li>
    <li>NPN Protocols: <span jscontent="$this.npn_protos || $this.next_protos"></span></li>
  </ul>

  <h4>HTTP/2 sessions</h4>
  <div id=spdy-view-session-info>
    <!-- Only one of these two are shown -->
    <div jsdisplay="spdySessionInfo.length == 0">None</div>
    <div jsdisplay="spdySessionInfo.length != 0">
      <a href="#events&q=type:HTTP2_SESSION%20is:active">View live HTTP/2 sessions</a>
      <p>
        <table class="styled-table">
          <thead>
            <tr>
              <th>Host</th>
              <th>Proxy</th>
              <th>ID</th>
              <th>Protocol Negotiated</th>
              <th>Active streams</th>
              <th>Unclaimed pushed</th>
              <th>Max</th>
              <th>Initiated</th>
              <th>Pushed</th>
              <th>Pushed and claimed</th>
              <th>Abandoned</th>
              <th>Received frames</th>
              <th>Secure</th>
              <th>Sent settings</th>
              <th>Received settings</th>
              <th>Send window</th>
              <th>Receive window</th>
              <th>Unacked received data</th>
              <th>Error</th>
            </tr>
          </thead>
          <tbody>
            <tr jsselect="spdySessionInfo">
              <td><span jscontent="host_port_pair"></span>
                <span jscontent="$this.aliases ? $this.aliases.join(' ') : ''"></span>
              </td>
              <td jscontent="proxy"></td>
              <td><a jsvalues=".href: '#events&q=id:' + source_id" jscontent="source_id"></a></td>
              <td jscontent="protocol_negotiated"></td>
              <td jscontent="active_streams"></td>
              <td jscontent="unclaimed_pushed_streams"></td>
              <td jscontent="max_concurrent_streams"></td>
              <td jscontent="streams_initiated_count"></td>
              <td jscontent="streams_pushed_count"></td>
              <td jscontent="streams_pushed_and_claimed_count"></td>
              <td jscontent="streams_abandoned_count"></td>
              <td jscontent="frames_received"></td>
              <td jscontent="is_secure"></td>
              <td jscontent="sent_settings"></td>
              <td jscontent="received_settings"></td>
              <td jscontent="send_window_size"></td>
              <td jscontent="recv_window_size"></td>
              <td jscontent="unacked_recv_window_bytes"></td>
              <td jscontent="error"></td>
            </tr>
          </tbody>
        </table>
      </p>
    </div>
  </div>
</div>