OLD | NEW |
1 <!-- Import/Export data --> | 1 <div id=importTabContent> |
2 <div id=dataTabContent> | |
3 | 2 |
4 <table width=100%> | |
5 <tr> | |
6 <td valign=top> | |
7 <div id=dataViewDumpDataDiv> | |
8 <h2>Dump data</h2> | |
9 <div style="margin: 8px"> | |
10 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> | |
11 Strip private information (cookies and credentials). | |
12 </p> | |
13 <p> | |
14 <a href="chrome://net-internals/help.html" target="_blank"> | |
15 Help: How to get data for bug reports? | |
16 </a> | |
17 </p> | |
18 <button id=dataViewSaveLogFile class=bigButton>Dump to file</button> | |
19 <pre id=dataViewSaveStatusText></pre> | |
20 </div> | |
21 </div> | |
22 <div id=dataViewLoadedDiv style="display: none"> | 3 <div id=dataViewLoadedDiv style="display: none"> |
23 <h2>Data Loaded</h2> | 4 <h2>Data Loaded</h2> |
24 <p id=dataViewLoadedClientInfoText></p> | 5 <pre id=dataViewLoadedClientInfoText></pre> |
25 </div> | 6 </div> |
26 <div> | 7 <div> |
27 <h2>Load data</h2> | 8 <h2>Load data</h2> |
28 <p><input type=file value="Load log from file" id=dataViewLoadLogFile /></p> | 9 <p><input type=file value="Load log from file" id=dataViewLoadLogFile /></p> |
29 <pre id=dataViewLoadStatusText></pre> | 10 <pre id=dataViewLoadStatusText></pre> |
30 <div style="margin: 8px"> | 11 |
31 <p>Either press the button above and select a file or drag a file onto | 12 <p>Once a log is loaded, this page will stop collecting data, and will |
32 this window to load it. | 13 only start gathering data again when |
33 </p> | 14 <a id="reloaded-link" href="#">reloaded</a>. |
34 <p>Works for both log dumps generated from this page with Chrome 14 | 15 </p> |
35 and later, and with log files created with | 16 |
36 "--log-net-log=file_name". "--net-log-level=#" will set the | 17 <ul> |
37 default log level used. | 18 <li><b>NOTE</b>: The currently captured data will be discarded when you lo
ad a file.</li> |
38 </p> | 19 <li><b>TIP</b>: Drag-and-drop of log files into this window works too!</li
> |
39 <p>Once a log is loaded, this page will stop collecting data, and will | 20 </ul> |
40 only start gathering data again when | |
41 <a id="reloaded-link" href="#">reloaded</a>. | |
42 </p> | |
43 </div> | |
44 </div> | 21 </div> |
45 </td> | |
46 | |
47 <td align=right valign=top> | |
48 <div class="capturingBox" id=dataViewCapturingBox> | |
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 | 22 |
79 </div> | 23 </div> |
OLD | NEW |