diff options
author | caseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 16:53:25 +0000 |
---|---|---|
committer | caseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-20 16:53:25 +0000 |
commit | 2cf725f68fa5106fd5bcb1e1fb8699bb3628cafe (patch) | |
tree | 239d92c6ae03fbf67a44a0b65a7a0511bbbf56c0 /chrome/common/extensions/docs/static/experimental.devtools.network.html | |
parent | a53209b21cb9aeae11f33463f83edee913ce1a71 (diff) | |
download | chromium_src-2cf725f68fa5106fd5bcb1e1fb8699bb3628cafe.zip chromium_src-2cf725f68fa5106fd5bcb1e1fb8699bb3628cafe.tar.gz chromium_src-2cf725f68fa5106fd5bcb1e1fb8699bb3628cafe.tar.bz2 |
Take docs for devtools.{inspectedWindow,network,panels} out of experimental.
BUG=105920
TEST=none
Review URL: https://chromiumcodereview.appspot.com/8970035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static/experimental.devtools.network.html')
-rw-r--r-- | chrome/common/extensions/docs/static/experimental.devtools.network.html | 60 |
1 files changed, 6 insertions, 54 deletions
diff --git a/chrome/common/extensions/docs/static/experimental.devtools.network.html b/chrome/common/extensions/docs/static/experimental.devtools.network.html index ca9a24e..5683dd0 100644 --- a/chrome/common/extensions/docs/static/experimental.devtools.network.html +++ b/chrome/common/extensions/docs/static/experimental.devtools.network.html @@ -1,58 +1,10 @@ -<!-- BEGIN AUTHORED CONTENT --> -<div id="pageData-name" class="pageData">chrome.experimental.devtools.network -API</div> -<p id="classSummary"> -Use the <code>chrome.experimental.devtools.network</code> module to retrieve -the information about network requests displayed by the Developer Tools -in the Network panel. -</p><p> -See <a href="experimental.devtools.html">DevTools APIs summary</a> for -general introduction to using Developer Tools APIs</a>. -</p> - -<h2>Overview</h2> - -<p> -Network requests information is represented in the HTTP Archive format -(<em>HAR</em>). The description of HAR is outside of scope of this document, -please refer to <a href= -"http://groups.google.com/group/http-archive-specification/web/har-1-2-spec"> -HAR v1.2 Specification</a>. -</p><p> -In terms of HAR, the -<code>chrome.experimental.devtools.network.getHAR()</code> method returns -entire <em>HAR log</em>, while -<code>chrome.experimental.devtools.network.onRequestFinished</code> event -provides <em>HAR entry</em> as an argument to the event callback. -</p> -<p>Note that request content is not provided as part of HAR for efficieny -reasons. You may call request's <code>getContent()</code> method to retrieve -content. -<p>If the Developer Tools window is opened after the page is loaded, -some requests may be missing -in the array of entries returned by <code>getHAR()</code>. -Reload the page to get all requests. -In general, the list of -requests returned by <code>getHAR()</code> should match that displayed in -the Network panel. -<h2 id="overview-examples">Examples</h2> - -<p>The following code logs URLs of all images larger than 40KB as they are -loaded:</p> - -<pre> -chrome.experimental.devtools.network.onRequestFinished.addListener( - function(request) { - if (request.response.bodySize > 40*1024) - chrome.experimental.devtools.console.addMessage( - chrome.experimental.devtools.console.Severity.Warning, - "Large image: " + request.request.url); -}); -</pre> +<div id="pageData-name" class="pageData">experimental.devtools.network</div> <p> -You can find more examples that use this API in -<a href="samples.html#devtools.network">Samples</a>. +The <code>devtools.network</code> API is no longer experimental; +it's supported! You can read all about it at its new home: </p> -<!-- END AUTHORED CONTENT --> +<blockquote> +<a href="devtools.network.html">chrome.devtools.network</a> +</blockquote> |