Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <head i18n-values="dir:textdirection;"> | 2 <head i18n-values="dir:textdirection;"> |
| 3 <!-- | 3 <!-- |
| 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 4 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
| 6 found in the LICENSE file. | 6 found in the LICENSE file. |
| 7 --> | 7 --> |
| 8 <head> | 8 <head> |
| 9 <link rel="stylesheet" href="main.css"> | 9 <link rel="stylesheet" href="main.css"> |
| 10 <link rel="stylesheet" href="tabswitcherview.css"> | 10 <link rel="stylesheet" href="tabswitcherview.css"> |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 <h2>Dump data</h2> | 267 <h2>Dump data</h2> |
| 268 <div style="margin: 8px"> | 268 <div style="margin: 8px"> |
| 269 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> | 269 <p><input id=securityStrippingCheckbox type=checkbox checked=yes> |
| 270 Strip private information (cookies and credentials). | 270 Strip private information (cookies and credentials). |
| 271 </p> | 271 </p> |
| 272 <p> | 272 <p> |
| 273 <a href="javascript:displayHelpForBugDump()"> | 273 <a href="javascript:displayHelpForBugDump()"> |
| 274 Help: How to get data for bug reports? | 274 Help: How to get data for bug reports? |
| 275 </a> | 275 </a> |
| 276 </p> | 276 </p> |
| 277 <button id=exportToText class=bigButton>Dump to text</button> | 277 <button id=exportToText class=bigButton>Dump to file</button> |
| 278 </div> | 278 </div> |
| 279 </div> | 279 </div> |
| 280 <div id=dataViewLoadDataDiv> | 280 <div id=dataViewLoadDataDiv> |
| 281 <h2>Load data</h2> | 281 <h2>Load data</h2> |
| 282 <div style="margin: 8px"> | 282 <div style="margin: 8px"> |
| 283 <p><input type=file value="Load log from file" id=dataViewLoadLogFile /></p> | 283 <p><input type=file value="Load log from file" id=dataViewLoadLogFile /></p> |
| 284 <p>Only works with log files created with "--log-net-log=file_name". | 284 <p>Only works with log files created with "--log-net-log=file_name". |
| 285 "--net-log-level=#" will set the default log level used. | 285 "--net-log-level=#" will set the default log level used. |
| 286 </p> | 286 </p> |
| 287 <p>Once a log is loaded, this page will stop collecting data, and will | 287 <p>Once a log is loaded, this page will stop collecting data, and will |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 313 <p><input type=button value="Delete all" id=dataViewDeleteAll /></p> | 313 <p><input type=button value="Delete all" id=dataViewDeleteAll /></p> |
| 314 <p><input id=byteLoggingCheckbox type=checkbox> | 314 <p><input id=byteLoggingCheckbox type=checkbox> |
| 315 Log actual bytes sent/received. | 315 Log actual bytes sent/received. |
| 316 </p> | 316 </p> |
| 317 </div> | 317 </div> |
| 318 </td> | 318 </td> |
| 319 | 319 |
| 320 </tr> | 320 </tr> |
| 321 </table> | 321 </table> |
| 322 | 322 |
| 323 <pre id=exportedDataText></pre> | |
| 324 </div> | |
| 325 | |
| 326 <!-- START OF HELP TEXT --> | 323 <!-- START OF HELP TEXT --> |
| 327 <script> | 324 <script> |
| 328 function displayHelpForBugDump() { | 325 function displayHelpForBugDump() { |
| 329 // We can't access the popups loaded from WebUI pages, so we instead populate | 326 // We can't access the popups loaded from WebUI pages, so we instead populate |
| 330 // its contents using a data:URL. YUCK! | 327 // its contents using a data:URL. YUCK! |
| 331 // TODO(eroman): do something less hacky, like exposing a new URL. | 328 // TODO(eroman): do something less hacky, like exposing a new URL. |
| 332 var helpContents = | 329 var helpContents = |
| 333 document.getElementById('howtoDumpForBugsHelpContent').innerHTML; | 330 document.getElementById('howtoDumpForBugsHelpContent').innerHTML; |
| 334 window.open('data:text/html,' + encodeURIComponent(helpContents)); | 331 window.open('data:text/html,' + encodeURIComponent(helpContents)); |
| 335 } | 332 } |
| 336 </script> | 333 </script> |
| 337 <div id=howtoDumpForBugsHelpContent style="display: none"> | 334 <div id=howtoDumpForBugsHelpContent style="display: none"> |
| 338 <h2>How to get data for bug reports</h2> | 335 <h2>How to get data for bug reports</h2> |
| 339 | 336 |
| 340 <ol> | 337 <ol> |
| 341 <li>Reproduce the network problem.</li> | 338 <li>Reproduce the network problem.</li> |
| 342 <li>Click the <i>Dump to text</i> button in the <i>Data</i> tab.</li> | 339 <li>Click the <i>Dump to text</i> button in the <i>Data</i> tab.</li> |
| 343 | 340 |
| 344 <li>Copy-paste the resulting selected text to a file.</li> | 341 <li>Copy-paste the resulting selected text to a file.</li> |
|
eroman
2011/06/16 00:42:02
Please update this help text.
mmenke
2011/06/16 16:16:53
Done.
| |
| 345 | 342 |
| 346 <li>Email the text file to the bug investigator, | 343 <li>Email the text file to the bug investigator, |
| 347 <b>along with an explanation of what went wrong.</b> | 344 <b>along with an explanation of what went wrong.</b> |
| 348 </li> | 345 </li> |
| 349 | 346 |
| 350 </ol> | 347 </ol> |
| 351 | 348 |
| 352 | 349 |
| 353 <ul> | 350 <ul> |
| 354 <li>The network log <b>may contain personally identifying information</b> like | 351 <li>The network log <b>may contain personally identifying information</b> like |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 505 <th width=8%></th> | 502 <th width=8%></th> |
| 506 <th width=82%>Log</th> | 503 <th width=82%>Log</th> |
| 507 </tr> | 504 </tr> |
| 508 </thead> | 505 </thead> |
| 509 <tbody id=logTable> | 506 <tbody id=logTable> |
| 510 </tbody> | 507 </tbody> |
| 511 </table> | 508 </table> |
| 512 </div> | 509 </div> |
| 513 </body> | 510 </body> |
| 514 </html> | 511 </html> |
| OLD | NEW |