summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/export_view.html
blob: 1abc9cc4bf6c9333638ba5def5fc218a357b8fc0 (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
<style>

.export-view-explanation-warning {
  border: 2px solid red;
}

#export-view-privacy-warning {
  padding: 5px;
  color: red;
  border: 1px solid red;
}

#export-view-save-log-file {
  font-size: 100%;
  font-weight: bold;
}

#export-view-user-comments {
  max-width: 100%;
}

</style>

<div id=export-view-tab-content class=content-box>

  <h2>Dump data</h2>
  <div style="margin: 8px">
    <p><input id=export-view-privacy-stripping-checkbox type=checkbox checked=yes>
       <label id=export-view-privacy-stripping-checkbox>
         Strip private information (cookies and credentials).
       </label>
       <div id=export-view-privacy-warning style="display:none">
         <b>WARNING</b>: Events were captured while full byte logging was enabled.
         This means the dump may contain private information.
       </div>
    </p>
    <textarea cols=50 rows=5 placeholder="Explain what went wrong here. (These notes will be included in the dump file. Be sure to mention the specific URLs, so investigators know what to look for!)" id=export-view-user-comments></textarea>
    <div>
      <button id=export-view-save-log-file>Dump to file</button>
    </div>
    <pre id=export-view-save-status-text></pre>

    <ul>
      <li><b>IMPORTANT</b>: First reproduce the problem while in recording mode.</li>
    </ul>
    <p>
      For more information see: 
      <a href="chrome://net-internals/help.html" target="_blank">
        How to get data for bug reports?
      </a>
    </p>
  </div>

  <a style="display: none" id=export-view-download-anchor download="net-internals-log.json"></a>

</div>