зеркало из https://github.com/mozilla/gecko-dev.git
288 строки
13 KiB
HTML
288 строки
13 KiB
HTML
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Security-Policy" content="default-src chrome:; object-src 'none'" />
|
|
<title data-l10n-id="about-networking-title"></title>
|
|
<link rel="stylesheet" href="chrome://global/skin/aboutNetworking.css" type="text/css" />
|
|
<script src="chrome://global/content/aboutNetworking.js"></script>
|
|
<link rel="localization" href="toolkit/about/aboutNetworking.ftl"/>
|
|
</head>
|
|
<body id="body">
|
|
<div id="categories">
|
|
<div class="category category-no-icon" selected="true" id="category-http">
|
|
<span class="category-name" data-l10n-id="about-networking-http"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-sockets">
|
|
<span class="category-name" data-l10n-id="about-networking-sockets"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-dns">
|
|
<span class="category-name" data-l10n-id="about-networking-dns"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-websockets">
|
|
<span class="category-name" data-l10n-id="about-networking-websockets"/>
|
|
</div>
|
|
<hr></hr>
|
|
<div class="category category-no-icon" id="category-dnslookuptool">
|
|
<span class="category-name" data-l10n-id="about-networking-dns-lookup"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-logging">
|
|
<span class="category-name" data-l10n-id="about-networking-logging"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-rcwn">
|
|
<span class="category-name" data-l10n-id="about-networking-rcwn"/>
|
|
</div>
|
|
<div class="category category-no-icon" id="category-networkid">
|
|
<span class="category-name" data-l10n-id="about-networking-networkid"/>
|
|
</div>
|
|
</div>
|
|
<div class="main-content">
|
|
<div class="header">
|
|
<div id="sectionTitle" class="header-name" data-l10n-id="about-networking-http"></div>
|
|
<div id="refreshDiv" class="toggle-container-with-text">
|
|
<button id="refreshButton" data-l10n-id="about-networking-refresh"></button>
|
|
<input id="autorefcheck" type="checkbox" name="Autorefresh" role="checkbox" />
|
|
<label for="autorefcheck" data-l10n-id="about-networking-auto-refresh"></label>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="http" class="tab active">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-hostname"/>
|
|
<th data-l10n-id="about-networking-port"/>
|
|
<th data-l10n-id="about-networking-http-version"/>
|
|
<th data-l10n-id="about-networking-ssl"/>
|
|
<th data-l10n-id="about-networking-active"/>
|
|
<th data-l10n-id="about-networking-idle"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="http_content" />
|
|
</table>
|
|
</div>
|
|
|
|
<div id="sockets" class="tab" hidden="true">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-host"/>
|
|
<th data-l10n-id="about-networking-port"/>
|
|
<th data-l10n-id="about-networking-tcp"/>
|
|
<th data-l10n-id="about-networking-active"/>
|
|
<th data-l10n-id="about-networking-sent"/>
|
|
<th data-l10n-id="about-networking-received"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="sockets_content" />
|
|
</table>
|
|
</div>
|
|
|
|
<div id="dns" class="tab" hidden="true">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-dns-suffix"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="dns_suffix_content" />
|
|
</table>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-dns-trr-url"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="dns_trr_url" />
|
|
</table>
|
|
<br/><br/>
|
|
<button id="clearDNSCache" data-l10n-id="about-networking-dns-clear-cache-button"></button>
|
|
<br/><br/>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-hostname"/>
|
|
<th data-l10n-id="about-networking-family"/>
|
|
<th data-l10n-id="about-networking-trr"/>
|
|
<th data-l10n-id="about-networking-addresses"/>
|
|
<th data-l10n-id="about-networking-expires"/>
|
|
<th data-l10n-id="about-networking-originAttributesSuffix"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="dns_content" />
|
|
</table>
|
|
</div>
|
|
|
|
<div id="websockets" class="tab" hidden="true">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-hostname"/>
|
|
<th data-l10n-id="about-networking-ssl"/>
|
|
<th data-l10n-id="about-networking-messages-sent"/>
|
|
<th data-l10n-id="about-networking-messages-received"/>
|
|
<th data-l10n-id="about-networking-bytes-sent"/>
|
|
<th data-l10n-id="about-networking-bytes-received"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="websockets_content" />
|
|
</table>
|
|
</div>
|
|
|
|
<div id="dnslookuptool" class="tab" hidden="true">
|
|
<label data-l10n-id="about-networking-dns-domain"></label>
|
|
<input type="text" name="host" id="host"></input>
|
|
<button id="dnsLookupButton" data-l10n-id="about-networking-dns-lookup-button"></button>
|
|
<hr/>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-dns-lookup-table-column"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="dnslookuptool_content" />
|
|
</table>
|
|
<hr/>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-dns-https-rr-lookup-table-column"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="https_rr_content" />
|
|
</table>
|
|
</div>
|
|
|
|
<div id="rcwn" class="tab" hidden="true">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-rcwn-status"/>
|
|
<th data-l10n-id="about-networking-total-network-requests"/>
|
|
<th data-l10n-id="about-networking-rcwn-cache-won-count"/>
|
|
<th data-l10n-id="about-networking-rcwn-net-won-count"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="rcwn_content">
|
|
<tr>
|
|
<td id="rcwn_status"> </td>
|
|
<td id="total_req_count"> </td>
|
|
<td id="rcwn_cache_won_count"> </td>
|
|
<td id="rcwn_cache_net_count"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br/><br/>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-rcwn-operation"/>
|
|
<th data-l10n-id="about-networking-rcwn-avg-short"/>
|
|
<th data-l10n-id="about-networking-rcwn-avg-long"/>
|
|
<th data-l10n-id="about-networking-rcwn-std-dev-long"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="cacheperf_content">
|
|
<tr>
|
|
<td data-l10n-id="about-networking-rcwn-perf-open"/>
|
|
<td id="rcwn_perfstats_open_avgShort"> </td>
|
|
<td id="rcwn_perfstats_open_avgLong"> </td>
|
|
<td id="rcwn_perfstats_open_stddevLong"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td data-l10n-id="about-networking-rcwn-perf-read"/>
|
|
<td id="rcwn_perfstats_read_avgShort"> </td>
|
|
<td id="rcwn_perfstats_read_avgLong"> </td>
|
|
<td id="rcwn_perfstats_read_stddevLong"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td data-l10n-id="about-networking-rcwn-perf-write"/>
|
|
<td id="rcwn_perfstats_write_avgShort"> </td>
|
|
<td id="rcwn_perfstats_write_avgLong"> </td>
|
|
<td id="rcwn_perfstats_write_stddevLong"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td data-l10n-id="about-networking-rcwn-perf-entry-open"/>
|
|
<td id="rcwn_perfstats_entryopen_avgShort"> </td>
|
|
<td id="rcwn_perfstats_entryopen_avgLong"> </td>
|
|
<td id="rcwn_perfstats_entryopen_stddevLong"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<br/><br/>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-rcwn-cache-slow"/>
|
|
<th data-l10n-id="about-networking-rcwn-cache-not-slow"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td id="rcwn_cache_slow"> </td>
|
|
<td id="rcwn_cache_not_slow"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="logging" class="tab" hidden="true">
|
|
<div>
|
|
<button id="start-logging-button" data-l10n-id="about-networking-start-logging"></button>
|
|
<button id="stop-logging-button" data-l10n-id="about-networking-stop-logging"></button>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<div>
|
|
<label data-l10n-id="about-networking-current-log-file"></label>
|
|
<div id="current-log-file"></div><br/>
|
|
<input type="text" name="log-file" id="log-file"></input>
|
|
<button id="set-log-file-button" data-l10n-id="about-networking-set-log-file"></button>
|
|
</div>
|
|
<div>
|
|
<label data-l10n-id="about-networking-current-log-modules"></label>
|
|
<div id="current-log-modules"></div><br/>
|
|
<input type="text" name="log-modules" id="log-modules" value="timestamp,sync,nsHttp:5,cache2:5,nsSocketTransport:5,nsHostResolver:5"></input>
|
|
<button id="set-log-modules-button" data-l10n-id="about-networking-set-log-modules"></button>
|
|
</div>
|
|
<br>
|
|
<br>
|
|
|
|
<p id="log-tutorial" data-l10n-id="about-networking-log-tutorial">
|
|
<a data-l10n-name="logging" href="https://developer.mozilla.org/docs/Mozilla/Debugging/HTTP_logging"></a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="networkid" class="tab" hidden="true">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th data-l10n-id="about-networking-networkid-is-up"/>
|
|
<th data-l10n-id="about-networking-networkid-status-known"/>
|
|
<th data-l10n-id="about-networking-networkid-id"/>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="networkid_content">
|
|
<tr>
|
|
<td id="networkid_isUp"> </td>
|
|
<td id="networkid_statusKnown"> </td>
|
|
<td id="networkid_id"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|