blob: abe55783f3bf172116eb16b316d1330a0a142bfb [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<if expr="is_android">
<meta name="viewport" content="width=device-width">
</if>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://net-export/net_export.js"></script>
<link rel="stylesheet" href="net_export.css">
</head>
<body>
<h2>NetLog Export</h2>
<div id="net-export-main">
<div>
<label>
<input id="export-view-private-data-toggle"
type="checkbox" checked disabled>
Strip private information (cookies and credentials)
</label>
</div>
<div>
<button id="export-view-start-data" disabled>
Start Logging to Disk
<div class="warning" id="export-view-deletes-log-text" hidden>
Deletes old log
</div>
</button>
</div>
<div>
<button id="export-view-stop-data" disabled>Stop Logging</button>
</div>
<div>
<button id="export-view-send-data" disabled>
Email Log
<div class="warning" id="export-view-private-data-text" hidden>
Log contains private information
</div>
<div class="warning" id="export-view-send-old-log-text" hidden>
Log file from previous session
</div>
</button>
</div>
<pre id="export-view-file-path-text"></pre>
<p>
<b>INSTRUCTIONS</b>: Start logging, reproduce the problem,
and then stop logging. Make sure to send the email before
starting to log again. Otherwise, the log will be deleted.
</p>
<p>
Logs can be loaded in
<a href="chrome://net-internals" target="_blank">net-internals</a>
of desktop Chrome.
</p>
<p>
<span class="warning">WARNING</span>: Logs contain a list of sites visited
from when logging started to when logging stopped. They may also contain
general network configuration information, such as DNS and proxy
configuration. If private information is not stripped, the logs also
contain cookies and credentials.
</p>
</div>
</body>
</html>