gecko-dev/toolkit/content/aboutNetworking.xhtml
2019-08-01 16:06:32 +00:00

270 lines
11 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!-- 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 xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
<title data-l10n-id="title"/>
<link rel="stylesheet" href="chrome://mozapps/skin/aboutNetworking.css" type="text/css" />
<script src="chrome://global/content/aboutNetworking.js" />
<link rel="localization" href="toolkit/about/aboutNetworking.ftl"/>
</head>
<body id="body">
<div id="warning_message" class="warningBackground" hidden="true">
<div class="container">
<h1 class="title" data-l10n-id="warning"/>
<div class="toggle-container-with-text">
<input id="warncheck" type="checkbox" checked="yes" role="checkbox" />
<label for="warncheck" data-l10n-id="show-next-time-checkbox"/>
</div>
<div>
<button id="confpref" autofocus="autofocus" data-l10n-id="ok"/>
</div>
</div>
</div>
<div id="categories">
<div class="category" selected="true" id="category-http">
<span class="category-name" data-l10n-id="http"/>
</div>
<div class="category" id="category-sockets">
<span class="category-name" data-l10n-id="sockets"/>
</div>
<div class="category" id="category-dns">
<span class="category-name" data-l10n-id="dns"/>
</div>
<div class="category" id="category-websockets">
<span class="category-name" data-l10n-id="websockets"/>
</div>
<hr></hr>
<div class="category" id="category-dnslookuptool">
<span class="category-name" data-l10n-id="dns-lookup"/>
</div>
<div class="category" id="category-logging">
<span class="category-name" data-l10n-id="logging"/>
</div>
<div class="category" id="category-rcwn">
<span class="category-name" data-l10n-id="rcwn"/>
</div>
<div class="category" id="category-networkid">
<span class="category-name" data-l10n-id="networkid"/>
</div>
</div>
<div class="main-content">
<div class="header">
<div id="sectionTitle" class="header-name" data-l10n-id="http"/>
<div id="refreshDiv" class="toggle-container-with-text">
<button id="refreshButton" data-l10n-id="refresh"/>
<input id="autorefcheck" type="checkbox" name="Autorefresh" role="checkbox" />
<label for="autorefcheck" data-l10n-id="auto-refresh"/>
</div>
</div>
<div id="http" class="tab active">
<table>
<thead>
<tr>
<th data-l10n-id="hostname"/>
<th data-l10n-id="port"/>
<th data-l10n-id="http2"/>
<th data-l10n-id="ssl"/>
<th data-l10n-id="active"/>
<th data-l10n-id="idle"/>
</tr>
</thead>
<tbody id="http_content" />
</table>
</div>
<div id="sockets" class="tab" hidden="true">
<table>
<thead>
<tr>
<th data-l10n-id="host"/>
<th data-l10n-id="port"/>
<th data-l10n-id="tcp"/>
<th data-l10n-id="active"/>
<th data-l10n-id="sent"/>
<th data-l10n-id="received"/>
</tr>
</thead>
<tbody id="sockets_content" />
</table>
</div>
<div id="dns" class="tab" hidden="true">
<table>
<thead>
<tr>
<th data-l10n-id="hostname"/>
<th data-l10n-id="family"/>
<th data-l10n-id="trr"/>
<th data-l10n-id="addresses"/>
<th data-l10n-id="expires"/>
</tr>
</thead>
<tbody id="dns_content" />
</table>
</div>
<div id="websockets" class="tab" hidden="true">
<table>
<thead>
<tr>
<th data-l10n-id="hostname"/>
<th data-l10n-id="ssl"/>
<th data-l10n-id="messages-sent"/>
<th data-l10n-id="messages-received"/>
<th data-l10n-id="bytes-sent"/>
<th data-l10n-id="bytes-received"/>
</tr>
</thead>
<tbody id="websockets_content" />
</table>
</div>
<div id="dnslookuptool" class="tab" hidden="true">
<label data-l10n-id="dns-domain"/>
<input type="text" name="host" id="host"></input>
<button id="dnsLookupButton" data-l10n-id="dns-lookup-button"/>
<hr/>
<table>
<thead>
<tr>
<th data-l10n-id="dns-lookup-table-column"/>
</tr>
</thead>
<tbody id="dnslookuptool_content" />
</table>
</div>
<div id="rcwn" class="tab" hidden="true">
<table>
<thead>
<tr>
<th data-l10n-id="rcwn-status"/>
<th data-l10n-id="total-network-requests"/>
<th data-l10n-id="rcwn-cache-won-count"/>
<th data-l10n-id="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="rcwn-operation"/>
<th data-l10n-id="rcwn-avg-short"/>
<th data-l10n-id="rcwn-avg-long"/>
<th data-l10n-id="rcwn-std-dev-long"/>
</tr>
</thead>
<tbody id="cacheperf_content">
<tr>
<td data-l10n-id="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="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="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="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="rcwn-cache-slow"/>
<th data-l10n-id="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>
<a href='https://developer.mozilla.org/docs/Mozilla/Debugging/HTTP_logging' data-l10n-name="logging"></a>
</div>
<br/>
<div>
<button id="start-logging-button" data-l10n-id="start-logging"/>
<button id="stop-logging-button" data-l10n-id="stop-logging"/>
</div>
<br/>
<br/>
<div>
<label data-l10n-id="current-log-file"/>
<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="set-log-file"/>
</div>
<div>
<label data-l10n-id="current-log-modules"/>
<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="set-log-modules"/>
</div>
</div>
<div id="networkid" class="tab" hidden="true">
<table>
<thead>
<tr>
<th data-l10n-id="networkid-isUp"/>
<th data-l10n-id="networkid-statusKnown"/>
<th data-l10n-id="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>