summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_export/net_export.html
blob: abe55783f3bf172116eb16b316d1330a0a142bfb (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
<!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>