| OLD | NEW |
| 1 <!-- Import/Export data --> | 1 <div id=exportTabContent> |
| 2 <div id=dataTabContent> | |
| 3 | 2 |
| 4 <table width=100%> | 3 <h2>Dump data</h2> |
| 5 <tr> | 4 <div style="margin: 8px"> |
| 6 <td valign=top> | 5 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> |
| 7 <div id=dataViewDumpDataDiv> | 6 Strip private information (cookies and credentials). |
| 8 <h2>Dump data</h2> | 7 </p> |
| 9 <div style="margin: 8px"> | 8 <button id=dataViewSaveLogFile class=bigButton>Dump to file</button> |
| 10 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> | 9 <pre id=dataViewSaveStatusText></pre> |
| 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"> | |
| 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 | 10 |
| 47 <td align=right valign=top> | 11 <ul> |
| 48 <div class="capturingBox" id=dataViewCapturingBox> | 12 <li><b>IMPORTANT</b>: First reproduce the problem while in recording mode.
</li> |
| 49 <span id=dataViewCapturingTextSpan> | 13 <li><b>IMPORTANT</b>: Always add an explanation of what went wrong before
emailing logs.</li> |
| 50 <b>Capturing all events...</b> | 14 </ul> |
| 51 </span> | 15 <p> |
| 52 <span id=dataViewLoggingTextSpan style="display: none;"> | 16 For more information see: |
| 53 <b>Viewing loaded log file.</b> | 17 <a href="chrome://net-internals/help.html" target="_blank"> |
| 54 </span> | 18 How to get data for bug reports? |
| 55 <table style="margin: 8px"> | 19 </a> |
| 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> | 20 </p> |
| 71 </div> | 21 </div> |
| 72 </td> | |
| 73 | 22 |
| 74 </tr> | 23 <iframe style="display: none" id=dataViewDownloadIframe></iframe> |
| 75 </table> | |
| 76 | |
| 77 <iframe style="display: none" id=dataViewDownloadIframe></iframe> | |
| 78 | 24 |
| 79 </div> | 25 </div> |
| OLD | NEW |