OLD | NEW |
1 <!-- Import/Export data --> | 1 <div id=captureTabContent> |
2 <div id=dataTabContent> | |
3 | 2 |
4 <table width=100%> | 3 <b>Network events generated by the browser are being captured to this window .
..</b> |
5 <tr> | 4 <table style="margin: 15px"> |
6 <td valign=top> | 5 <tr> |
7 <div id=dataViewDumpDataDiv> | 6 <td>Passively captured events:</td> |
8 <h2>Dump data</h2> | 7 <td align=right id=passivelyCapturedCount></td> |
9 <div style="margin: 8px"> | 8 </tr> |
10 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> | 9 <tr> |
11 Strip private information (cookies and credentials). | 10 <td>Actively captured events:</td> |
12 </p> | 11 <td align=right id=activelyCapturedCount></td> |
13 <p> | 12 </tr> |
14 <a href="chrome://net-internals/help.html" target="_blank"> | 13 </table> |
15 Help: How to get data for bug reports? | 14 <p> |
16 </a> | 15 <input type=button value="Delete all captured data" id=dataViewDeleteAll /> |
17 </p> | 16 </p> |
18 <button id=dataViewSaveLogFile class=bigButton>Dump to file</button> | 17 <p><input id=byteLoggingCheckbox type=checkbox /> |
19 <pre id=dataViewSaveStatusText></pre> | 18 Include the actual bytes sent/received (may result in huge logs). |
| 19 </p> |
| 20 |
| 21 <ul> |
| 22 <li> |
| 23 <b>TIP</b>: <a href="#" id=captureViewTipAnchor>logging from the command lin
e</a>. |
| 24 |
| 25 <div style="display:none; margin-top: 10px" id=captureViewTipDiv> |
| 26 Another way to capture network events is by using the command line flag: |
| 27 <blockquote> |
| 28 --log-net-log=<i>FILENAME</i> [ --net-log-level=<i>NUMBER</i> ] |
| 29 </blockquote> |
| 30 This will stream the network events directly to a file of your choosing. I
f you additionally want it to log the network bytes, then pass --net-log-level=0
. |
20 </div> | 31 </div> |
21 </div> | |
22 <div id=dataViewLoadedDiv style="display: none"> | |
23 <h2>Data Loaded</h2> | |
24 <p id=dataViewLoadedClientInfoText></p> | |
25 </div> | |
26 <div> | |
27 <h2>Load data</h2> | |
28 <p><input type=file value="Load log from file" id=dataViewLoadLogFile /></p> | |
29 <pre id=dataViewLoadStatusText></pre> | |
30 <div style="margin: 8px"> | |
31 <p>Either press the button above and select a file or drag a file onto | |
32 this window to load it. | |
33 </p> | |
34 <p>Works for both log dumps generated from this page with Chrome 14 | |
35 and later, and with log files created with | |
36 "--log-net-log=file_name". "--net-log-level=#" will set the | |
37 default log level used. | |
38 </p> | |
39 <p>Once a log is loaded, this page will stop collecting data, and will | |
40 only start gathering data again when | |
41 <a id="reloaded-link" href="#">reloaded</a>. | |
42 </p> | |
43 </div> | |
44 </div> | |
45 </td> | |
46 | 32 |
47 <td align=right valign=top> | 33 </li> |
48 <div class="capturingBox" id=dataViewCapturingBox> | 34 </ul> |
49 <span id=dataViewCapturingTextSpan> | |
50 <b>Capturing all events...</b> | |
51 </span> | |
52 <span id=dataViewLoggingTextSpan style="display: none;"> | |
53 <b>Viewing loaded log file.</b> | |
54 </span> | |
55 <table style="margin: 8px"> | |
56 <tr> | |
57 <td>Passively captured:</td> | |
58 <td align=right id=passivelyCapturedCount></td> | |
59 </tr> | |
60 <tr> | |
61 <td>Actively captured:</td> | |
62 <td align=right id=activelyCapturedCount></td> | |
63 </tr> | |
64 </table> | |
65 <p class="hideOnLoadLog"> | |
66 <input type=button value="Delete all" id=dataViewDeleteAll /> | |
67 </p> | |
68 <p class="hideOnLoadLog"><input id=byteLoggingCheckbox type=checkbox /> | |
69 Log actual bytes sent/received. | |
70 </p> | |
71 </div> | |
72 </td> | |
73 | |
74 </tr> | |
75 </table> | |
76 | |
77 <iframe style="display: none" id=dataViewDownloadIframe></iframe> | |
78 | 35 |
79 </div> | 36 </div> |
OLD | NEW |