| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. | 4 templating mechanism. |
| 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
| 7 authored overview content. | 7 authored overview content. |
| 8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
| 9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
| 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> | 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> |
| 13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> | 13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> |
| 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js"> | 14 <script type="text/javascript" src="../../../third_party/jstemplate/jstempla
te_compiled.js"> |
| 15 </script> | 15 </script> |
| 16 <script type="text/javascript" src="js/api_page_generator.js"></script> | 16 <script type="text/javascript" src="js/api_page_generator.js"></script> |
| 17 <script type="text/javascript" src="js/bootstrap.js"></script> | 17 <script type="text/javascript" src="js/bootstrap.js"></script> |
| 18 <script type="text/javascript" src="js/sidebar.js"></script> | 18 <script type="text/javascript" src="js/sidebar.js"></script> |
| 19 <title>chrome.experimental.devtools.network API - Google Chrome Extensions - G
oogle Code</title></head> | 19 <title>chrome.experimental.devtools.network |
| 20 API - Google Chrome Extensions - Google Code</title></head> |
| 20 <body> <div id="gc-container" class="labs"> | 21 <body> <div id="gc-container" class="labs"> |
| 21 <div id="devModeWarning"> | 22 <div id="devModeWarning"> |
| 22 You are viewing extension docs in chrome via the 'file:' scheme: are you
expecting to see local changes when you refresh? You'll need run chrome with --
allow-file-access-from-files. | 23 You are viewing extension docs in chrome via the 'file:' scheme: are you
expecting to see local changes when you refresh? You'll need run chrome with --
allow-file-access-from-files. |
| 23 </div> | 24 </div> |
| 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> | 25 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> |
| 25 <!-- In particular, sub-templates that recurse, must be used by allowing | 26 <!-- In particular, sub-templates that recurse, must be used by allowing |
| 26 jstemplate to make a copy of the template in this section which | 27 jstemplate to make a copy of the template in this section which |
| 27 are not operated on by way of the jsskip="true" --> | 28 are not operated on by way of the jsskip="true" --> |
| 28 <div style="display:none"> | 29 <div style="display:none"> |
| 29 | 30 |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 <a name="method-getHAR"></a> <!-- method-anchor --> | 475 <a name="method-getHAR"></a> <!-- method-anchor --> |
| 475 <h4>getHAR</h4> | 476 <h4>getHAR</h4> |
| 476 | 477 |
| 477 <div class="summary"><span style="display: none; ">void</span> | 478 <div class="summary"><span style="display: none; ">void</span> |
| 478 <!-- Note: intentionally longer 80 columns --> | 479 <!-- Note: intentionally longer 80 columns --> |
| 479 <span>chrome.experimental.devtools.network.getHAR</span>(<span
class="null"><span style="display: none; ">, </span><span>function</span> | 480 <span>chrome.experimental.devtools.network.getHAR</span>(<span
class="null"><span style="display: none; ">, </span><span>function</span> |
| 480 <var><span>callback</span></var></span>)</div> | 481 <var><span>callback</span></var></span>)</div> |
| 481 | 482 |
| 482 <div class="description"> | 483 <div class="description"> |
| 483 <p class="todo" style="display: none; ">Undocumented.</p> | 484 <p class="todo" style="display: none; ">Undocumented.</p> |
| 484 <p>Returns HAR archive that contains all known network requests.
</p> | 485 <p>Returns HAR log that contains all known network requests.</p> |
| 485 | 486 |
| 486 <!-- PARAMETERS --> | 487 <!-- PARAMETERS --> |
| 487 <h4>Parameters</h4> | 488 <h4>Parameters</h4> |
| 488 <dl> | 489 <dl> |
| 489 <div> | 490 <div> |
| 490 <div> | 491 <div> |
| 491 <dt> | 492 <dt> |
| 492 <var>callback</var> | 493 <var>callback</var> |
| 493 <em> | 494 <em> |
| 494 | 495 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 510 </span> | 511 </span> |
| 511 </span> | 512 </span> |
| 512 ) | 513 ) |
| 513 </div> | 514 </div> |
| 514 | 515 |
| 515 </em> | 516 </em> |
| 516 </dt> | 517 </dt> |
| 517 <dd class="todo" style="display: none; "> | 518 <dd class="todo" style="display: none; "> |
| 518 Undocumented. | 519 Undocumented. |
| 519 </dd> | 520 </dd> |
| 520 <dd>A function that is called upon request completion.</dd> | 521 <dd>A function that receives the HAR log when the request completes.</
dd> |
| 521 <dd style="display: none; "> | 522 <dd style="display: none; "> |
| 522 This parameter was added in version | 523 This parameter was added in version |
| 523 <b><span></span></b>. | 524 <b><span></span></b>. |
| 524 You must omit this parameter in earlier versions, | 525 You must omit this parameter in earlier versions, |
| 525 and you may omit it in any version. If you require this | 526 and you may omit it in any version. If you require this |
| 526 parameter, the manifest key | 527 parameter, the manifest key |
| 527 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 528 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 528 can ensure that your extension won't be run in an earlier browser ve
rsion. | 529 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 529 </dd> | 530 </dd> |
| 530 | 531 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 <p> | 574 <p> |
| 574 The callback <em>parameter</em> should specify a function | 575 The callback <em>parameter</em> should specify a function |
| 575 that looks like this: | 576 that looks like this: |
| 576 </p> | 577 </p> |
| 577 <p style="display: none; "> | 578 <p style="display: none; "> |
| 578 If you specify the <em>callback</em> parameter, it should | 579 If you specify the <em>callback</em> parameter, it should |
| 579 specify a function that looks like this: | 580 specify a function that looks like this: |
| 580 </p> | 581 </p> |
| 581 | 582 |
| 582 <!-- Note: intentionally longer 80 columns --> | 583 <!-- Note: intentionally longer 80 columns --> |
| 583 <pre>function(<span>object har</span>) <span class="subdued">{
...}</span>;</pre> | 584 <pre>function(<span>object harLog</span>) <span class="subdued
">{...}</span>;</pre> |
| 584 <dl> | 585 <dl> |
| 585 <div> | 586 <div> |
| 586 <div> | 587 <div> |
| 587 <dt> | 588 <dt> |
| 588 <var>har</var> | 589 <var>harLog</var> |
| 589 <em> | 590 <em> |
| 590 | 591 |
| 591 <!-- TYPE --> | 592 <!-- TYPE --> |
| 592 <div style="display:inline"> | 593 <div style="display:inline"> |
| 593 ( | 594 ( |
| 594 <span class="optional" style="display: none; ">optional</spa
n> | 595 <span class="optional" style="display: none; ">optional</spa
n> |
| 595 <span class="enum" style="display: none; ">enumerated</span> | 596 <span class="enum" style="display: none; ">enumerated</span> |
| 596 <span id="typeTemplate"> | 597 <span id="typeTemplate"> |
| 597 <span style="display: none; "> | 598 <span style="display: none; "> |
| 598 <a> Type</a> | 599 <a> Type</a> |
| 599 </span> | 600 </span> |
| 600 <span> | 601 <span> |
| 601 <span style="display: none; "> | 602 <span style="display: none; "> |
| 602 array of <span><span></span></span> | 603 array of <span><span></span></span> |
| 603 </span> | 604 </span> |
| 604 <span>object</span> | 605 <span>object</span> |
| 605 <span style="display: none; "></span> | 606 <span style="display: none; "></span> |
| 606 </span> | 607 </span> |
| 607 </span> | 608 </span> |
| 608 ) | 609 ) |
| 609 </div> | 610 </div> |
| 610 | 611 |
| 611 </em> | 612 </em> |
| 612 </dt> | 613 </dt> |
| 613 <dd class="todo" style="display: none; "> | 614 <dd class="todo" style="display: none; "> |
| 614 Undocumented. | 615 Undocumented. |
| 615 </dd> | 616 </dd> |
| 616 <dd>A HAR archive. See HAR specification for details.</dd> | 617 <dd>A HAR log. See HAR specification for details.</dd> |
| 617 <dd style="display: none; "> | 618 <dd style="display: none; "> |
| 618 This parameter was added in version | 619 This parameter was added in version |
| 619 <b><span></span></b>. | 620 <b><span></span></b>. |
| 620 You must omit this parameter in earlier versions, | 621 You must omit this parameter in earlier versions, |
| 621 and you may omit it in any version. If you require this | 622 and you may omit it in any version. If you require this |
| 622 parameter, the manifest key | 623 parameter, the manifest key |
| 623 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 624 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 624 can ensure that your extension won't be run in an earlier browser ve
rsion. | 625 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 625 </dd> | 626 </dd> |
| 626 | 627 |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 </span> | 931 </span> |
| 931 </span> | 932 </span> |
| 932 ) | 933 ) |
| 933 </div> | 934 </div> |
| 934 | 935 |
| 935 </em> | 936 </em> |
| 936 </dt> | 937 </dt> |
| 937 <dd class="todo" style="display: none; "> | 938 <dd class="todo" style="display: none; "> |
| 938 Undocumented. | 939 Undocumented. |
| 939 </dd> | 940 </dd> |
| 940 <dd>Represents a network request for a document resource (script, imag
e etc). See HAR Specification for reference.</dd> | 941 <dd>Represents a network request for a document resource (script, imag
e and so on). See HAR Specification for reference.</dd> |
| 941 <dd style="display: none; "> | 942 <dd style="display: none; "> |
| 942 This parameter was added in version | 943 This parameter was added in version |
| 943 <b><span></span></b>. | 944 <b><span></span></b>. |
| 944 You must omit this parameter in earlier versions, | 945 You must omit this parameter in earlier versions, |
| 945 and you may omit it in any version. If you require this | 946 and you may omit it in any version. If you require this |
| 946 parameter, the manifest key | 947 parameter, the manifest key |
| 947 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 948 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 948 can ensure that your extension won't be run in an earlier browser ve
rsion. | 949 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 949 </dd> | 950 </dd> |
| 950 | 951 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 </span> | 1006 </span> |
| 1006 </span> | 1007 </span> |
| 1007 ) | 1008 ) |
| 1008 </div> | 1009 </div> |
| 1009 | 1010 |
| 1010 </em> | 1011 </em> |
| 1011 </dt> | 1012 </dt> |
| 1012 <dd class="todo" style="display: none; "> | 1013 <dd class="todo" style="display: none; "> |
| 1013 Undocumented. | 1014 Undocumented. |
| 1014 </dd> | 1015 </dd> |
| 1015 <dd>A function that is called upon request completion.</dd> | 1016 <dd>A function that receives the response body when the request comple
tes.</dd> |
| 1016 <dd style="display: none; "> | 1017 <dd style="display: none; "> |
| 1017 This parameter was added in version | 1018 This parameter was added in version |
| 1018 <b><span></span></b>. | 1019 <b><span></span></b>. |
| 1019 You must omit this parameter in earlier versions, | 1020 You must omit this parameter in earlier versions, |
| 1020 and you may omit it in any version. If you require this | 1021 and you may omit it in any version. If you require this |
| 1021 parameter, the manifest key | 1022 parameter, the manifest key |
| 1022 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> | 1023 <a href="manifest.html#minimum_chrome_version">minimum_chrome_versio
n</a> |
| 1023 can ensure that your extension won't be run in an earlier browser ve
rsion. | 1024 can ensure that your extension won't be run in an earlier browser ve
rsion. |
| 1024 </dd> | 1025 </dd> |
| 1025 | 1026 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1282 _uff=0; | 1283 _uff=0; |
| 1283 urchinTracker(); | 1284 urchinTracker(); |
| 1284 } | 1285 } |
| 1285 catch(e) {/* urchinTracker not available. */} | 1286 catch(e) {/* urchinTracker not available. */} |
| 1286 </script> | 1287 </script> |
| 1287 <!-- end analytics --> | 1288 <!-- end analytics --> |
| 1288 </div> | 1289 </div> |
| 1289 </div> <!-- /gc-footer --> | 1290 </div> <!-- /gc-footer --> |
| 1290 </div> <!-- /gc-container --> | 1291 </div> <!-- /gc-container --> |
| 1291 </body></html> | 1292 </body></html> |
| OLD | NEW |