Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4148)

Unified Diff: chrome/common/extensions/docs/webRequest.html

Issue 9422003: Migrate Declarative API bindings to new JSON objects generated by JSON compiler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed function naming Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/webRequest.html
diff --git a/chrome/common/extensions/docs/webRequest.html b/chrome/common/extensions/docs/webRequest.html
index a5e93ff4b9e138783d66bbbca8bcdee18d79721f..d3a17d0a0659090d9e70b089a1281ebc346a24f5 100644
--- a/chrome/common/extensions/docs/webRequest.html
+++ b/chrome/common/extensions/docs/webRequest.html
@@ -96,7 +96,7 @@
</div> <!-- end gc-topnav -->
<div class="g-section g-tpl-170">
<!-- SIDENAV -->
- <div class="g-unit g-first" id="gc-toc">
+ <div class="g-unit g-first" id="gc-toc" style="">
<ul>
<li><a href="getstarted.html">Getting Started</a></li>
<li><a href="overview.html">Overview</a></li>
@@ -186,82 +186,82 @@
<h1 class="page_title">Web Requests</h1>
</div>
<!-- TABLE OF CONTENTS -->
- <div id="toc">
+ <div id="toc" style="">
<h2>Contents</h2>
<ol>
- <li>
+ <li style="">
<a href="#manifest">Manifest</a>
<ol>
</ol>
- </li><li>
+ </li><li style="">
<a href="#life_cycle">Life cycle of requests</a>
<ol>
</ol>
- </li><li>
+ </li><li style="">
<a href="#concepts">Concepts</a>
<ol>
- <li>
+ <li style="">
<a href="#Request IDs">Request IDs</a>
- </li><li>
+ </li><li style="">
<a href="#subscription">Registering event listeners</a>
</li>
</ol>
- </li><li>
+ </li><li style="">
<a href="#implementation">Implementation details</a>
<ol>
</ol>
- </li><li>
+ </li><li style="">
<a href="#examples">Examples</a>
<ol>
</ol>
</li>
- <li>
+ <li style="">
<a href="#apiReference">API reference: chrome.webRequest</a>
<ol>
- <li>
+ <li style="">
<a href="#global-methods">Methods</a>
<ol>
- <li>
+ <li style="">
<a href="#method-handlerBehaviorChanged">handlerBehaviorChanged</a>
</li>
</ol>
</li>
- <li>
+ <li style="">
<a href="#global-events">Events</a>
<ol>
- <li>
+ <li style="">
<a href="#event-onAuthRequired">onAuthRequired</a>
- </li><li>
+ </li><li style="">
<a href="#event-onBeforeRedirect">onBeforeRedirect</a>
- </li><li>
+ </li><li style="">
<a href="#event-onBeforeRequest">onBeforeRequest</a>
- </li><li>
+ </li><li style="">
<a href="#event-onBeforeSendHeaders">onBeforeSendHeaders</a>
- </li><li>
+ </li><li style="">
<a href="#event-onCompleted">onCompleted</a>
- </li><li>
+ </li><li style="">
<a href="#event-onErrorOccurred">onErrorOccurred</a>
- </li><li>
+ </li><li style="">
<a href="#event-onHeadersReceived">onHeadersReceived</a>
- </li><li>
+ </li><li style="">
<a href="#event-onResponseStarted">onResponseStarted</a>
- </li><li>
+ </li><li style="">
<a href="#event-onSendHeaders">onSendHeaders</a>
</li>
</ol>
</li>
- <li>
+ <li style="">
<a href="#types">Types</a>
<ol>
- <li>
+ <li style="">
<a href="#type-RequestFilter">RequestFilter</a>
<ol>
</ol>
- </li><li>
+ </li><li style="">
<a href="#type-HttpHeaders">HttpHeaders</a>
<ol>
</ol>
- </li><li>
+ </li><li style="">
<a href="#type-BlockingResponse">BlockingResponse</a>
<ol>
</ol>
@@ -530,47 +530,47 @@ samples</a>.</p>
<!-- END AUTHORED CONTENT -->
</dl></div>
<!-- API PAGE -->
- <div class="apiPage">
+ <div class="apiPage" style="">
<a name="apiReference"></a>
<h2>API reference: chrome.webRequest</h2>
<!-- PROPERTIES -->
<!-- /apiGroup -->
<!-- METHODS -->
- <div id="methodsTemplate" class="apiGroup">
+ <div id="methodsTemplate" class="apiGroup" style="">
<a name="global-methods"></a>
<h3>Methods</h3>
<!-- iterates over all functions -->
- <div class="apiItem">
+ <div class="apiItem" style="">
<a name="method-handlerBehaviorChanged"></a> <!-- method-anchor -->
<h4>handlerBehaviorChanged</h4>
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.webRequest.handlerBehaviorChanged</span>(<span class="optional"><span>function</span>
+ <span>chrome.webRequest.handlerBehaviorChanged</span>(<span style="" class="optional"><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
- <p>Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching. This function call is expensive. Don't call it often.</p>
+ <p style="">Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching. This function call is expensive. Don't call it often.</p>
<!-- PARAMETERS -->
- <h4>Parameters</h4>
+ <h4 style="">Parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>callback</var>
+ <var style="">callback</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>function</span>
+ <span style="">
+ <span style="">function</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -584,10 +584,10 @@ samples</a>.</p>
<dl>
</dl>
<!-- CALLBACK -->
- <div>
- <div>
+ <div style="">
+ <div style="">
<h4>Callback function</h4>
- <p>
+ <p style="">
If you specify the <em>callback</em> parameter, it should
specify a function that looks like this:
</p>
@@ -602,11 +602,11 @@ samples</a>.</p>
</div> <!-- /apiItem -->
</div> <!-- /apiGroup -->
<!-- EVENTS -->
- <div id="eventsTemplate" class="apiGroup">
+ <div id="eventsTemplate" class="apiGroup" style="">
<a name="global-events"></a>
<h3>Events</h3>
<!-- iterates over all events -->
- <div class="apiItem">
+ <div class="apiItem" style="">
<a name="event-onAuthRequired"></a>
<h4>onAuthRequired</h4>
<div class="summary">
@@ -614,75 +614,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onAuthRequired</span><span class="subdued">.addListener</span>(function(<span>object details, function callback</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when an authentication failure is received. The listener has three options: it can provide authentication credentials, it can cancel the request and display the error page, or it can take no action on the challenge. If bad user credentials are provided, this may be called multiple times for the same request.</p>
+ <p style="">Fired when an authentication failure is received. The listener has three options: it can provide authentication credentials, it can cancel the request and display the error page, or it can take no action on the challenge. If bad user credentials are provided, this may be called multiple times for the same request.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -690,232 +690,232 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>scheme</var>
+ <var style="">scheme</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The authentication scheme, e.g. Basic or Digest.</dd>
+ <dd style="">The authentication scheme, e.g. Basic or Digest.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>realm</var>
+ <var style="">realm</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The authentication realm provided by the server, if there is one.</dd>
+ <dd style="">The authentication realm provided by the server, if there is one.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>challenger</var>
+ <var style="">challenger</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The server requesting authentication.</dd>
+ <dd style="">The server requesting authentication.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>host</var>
+ <var style="">host</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -923,24 +923,24 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>port</var>
+ <var style="">port</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -955,40 +955,40 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>isProxy</var>
+ <var style="">isProxy</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>True for Proxy-Authenticate, false for WWW-Authenticate.</dd>
+ <dd style="">True for Proxy-Authenticate, false for WWW-Authenticate.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -996,31 +996,31 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP response headers that were received along with this response.</dd>
+ <dd style="">The HTTP response headers that were received along with this response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusLine</var>
+ <var style="">statusLine</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>HTTP status line of the response.</dd>
+ <dd style="">HTTP status line of the response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1033,25 +1033,25 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>callback</var>
+ <var style="">callback</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>function</span>
+ <span style="">
+ <span style="">function</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -1063,19 +1063,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -1083,28 +1083,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["responseHeaders", "blocking", "asyncBlocking"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["responseHeaders", "blocking", "asyncBlocking"]</span>
</span>
</span></span>
</span>
@@ -1114,7 +1114,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1124,18 +1124,18 @@ samples</a>.</p>
</dl>
</div>
<!-- LISTENER RETURN VALUE -->
- <h4>Listener returns</h4>
+ <h4 style="">Listener returns</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-BlockingResponse">BlockingResponse</a>
</span>
</span>
@@ -1143,7 +1143,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
+ <dd style="">If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1152,7 +1152,7 @@ samples</a>.</p>
</div>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onBeforeRedirect"></a>
<h4>onBeforeRedirect</h4>
<div class="summary">
@@ -1160,75 +1160,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onBeforeRedirect</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when a server-initiated redirect is about to occur.</p>
+ <p style="">Fired when a server-initiated redirect is about to occur.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -1236,250 +1236,250 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>ip</var>
+ <var style="">ip</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
+ <dd style="">The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>fromCache</var>
+ <var style="">fromCache</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Indicates if this response was fetched from disk cache.</dd>
+ <dd style="">Indicates if this response was fetched from disk cache.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusCode</var>
+ <var style="">statusCode</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP status code returned by the server.</dd>
+ <dd style="">Standard HTTP status code returned by the server.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>redirectUrl</var>
+ <var style="">redirectUrl</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The new URL.</dd>
+ <dd style="">The new URL.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -1487,31 +1487,31 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP response headers that were received along with this redirect.</dd>
+ <dd style="">The HTTP response headers that were received along with this redirect.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusLine</var>
+ <var style="">statusLine</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>HTTP status line of the response.</dd>
+ <dd style="">HTTP status line of the response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1528,19 +1528,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -1548,28 +1548,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["responseHeaders"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["responseHeaders"]</span>
</span>
</span></span>
</span>
@@ -1579,7 +1579,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1592,7 +1592,7 @@ samples</a>.</p>
<dl>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onBeforeRequest"></a>
<h4>onBeforeRequest</h4>
<div class="summary">
@@ -1600,75 +1600,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onBeforeRequest</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when a request is about to occur.</p>
+ <p style="">Fired when a request is about to occur.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -1676,141 +1676,141 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1827,19 +1827,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -1847,28 +1847,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["blocking"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["blocking"]</span>
</span>
</span></span>
</span>
@@ -1878,7 +1878,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1888,18 +1888,18 @@ samples</a>.</p>
</dl>
</div>
<!-- LISTENER RETURN VALUE -->
- <h4>Listener returns</h4>
+ <h4 style="">Listener returns</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-BlockingResponse">BlockingResponse</a>
</span>
</span>
@@ -1907,7 +1907,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
+ <dd style="">If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -1916,7 +1916,7 @@ samples</a>.</p>
</div>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onBeforeSendHeaders"></a>
<h4>onBeforeSendHeaders</h4>
<div class="summary">
@@ -1924,75 +1924,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onBeforeSendHeaders</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired before sending an HTTP request, once the request headers are available. This may occur after a TCP connection is made to the server, but before any HTTP data is sent. </p>
+ <p style="">Fired before sending an HTTP request, once the request headers are available. This may occur after a TCP connection is made to the server, but before any HTTP data is sent. </p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -2000,157 +2000,157 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>requestHeaders</var>
+ <var style="">requestHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -2158,7 +2158,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP request headers that are going to be sent out with this request.</dd>
+ <dd style="">The HTTP request headers that are going to be sent out with this request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2175,19 +2175,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -2195,28 +2195,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["requestHeaders", "blocking"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["requestHeaders", "blocking"]</span>
</span>
</span></span>
</span>
@@ -2226,7 +2226,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2236,18 +2236,18 @@ samples</a>.</p>
</dl>
</div>
<!-- LISTENER RETURN VALUE -->
- <h4>Listener returns</h4>
+ <h4 style="">Listener returns</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-BlockingResponse">BlockingResponse</a>
</span>
</span>
@@ -2255,7 +2255,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
+ <dd style="">If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2264,7 +2264,7 @@ samples</a>.</p>
</div>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onCompleted"></a>
<h4>onCompleted</h4>
<div class="summary">
@@ -2272,75 +2272,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onCompleted</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when a request is completed.</p>
+ <p style="">Fired when a request is completed.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -2348,227 +2348,227 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>ip</var>
+ <var style="">ip</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
+ <dd style="">The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>fromCache</var>
+ <var style="">fromCache</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Indicates if this response was fetched from disk cache.</dd>
+ <dd style="">Indicates if this response was fetched from disk cache.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusCode</var>
+ <var style="">statusCode</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP status code returned by the server.</dd>
+ <dd style="">Standard HTTP status code returned by the server.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -2576,31 +2576,31 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP response headers that were received along with this response.</dd>
+ <dd style="">The HTTP response headers that were received along with this response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusLine</var>
+ <var style="">statusLine</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>HTTP status line of the response.</dd>
+ <dd style="">HTTP status line of the response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2617,19 +2617,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -2637,28 +2637,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["responseHeaders"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["responseHeaders"]</span>
</span>
</span></span>
</span>
@@ -2668,7 +2668,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2681,7 +2681,7 @@ samples</a>.</p>
<dl>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onErrorOccurred"></a>
<h4>onErrorOccurred</h4>
<div class="summary">
@@ -2689,75 +2689,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onErrorOccurred</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter</span>);
</div>
<div class="description">
- <p>Fired when an error occurs.</p>
+ <p style="">Fired when an error occurs.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -2765,211 +2765,211 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>ip</var>
+ <var style="">ip</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
+ <dd style="">The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>fromCache</var>
+ <var style="">fromCache</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Indicates if this response was fetched from disk cache.</dd>
+ <dd style="">Indicates if this response was fetched from disk cache.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>error</var>
+ <var style="">error</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The error description. This string is <em>not</em> guaranteed to remain backwards compatible between releases. You must not parse and act based upon its content.</dd>
+ <dd style="">The error description. This string is <em>not</em> guaranteed to remain backwards compatible between releases. You must not parse and act based upon its content.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -2986,19 +2986,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -3006,7 +3006,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3019,7 +3019,7 @@ samples</a>.</p>
<dl>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onHeadersReceived"></a>
<h4>onHeadersReceived</h4>
<div class="summary">
@@ -3027,75 +3027,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onHeadersReceived</span><span class="subdued">.addListener</span>(function(<span>object deails</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when HTTP response headers of a request have been received.</p>
+ <p style="">Fired when HTTP response headers of a request have been received.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>deails</var>
+ <var style="">deails</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -3103,181 +3103,181 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusLine</var>
+ <var style="">statusLine</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>HTTP status line of the response.</dd>
+ <dd style="">HTTP status line of the response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -3285,7 +3285,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP response headers that have been received with this response.</dd>
+ <dd style="">The HTTP response headers that have been received with this response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3302,19 +3302,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -3322,28 +3322,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["blocking", "responseHeaders"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["blocking", "responseHeaders"]</span>
</span>
</span></span>
</span>
@@ -3353,7 +3353,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3363,18 +3363,18 @@ samples</a>.</p>
</dl>
</div>
<!-- LISTENER RETURN VALUE -->
- <h4>Listener returns</h4>
+ <h4 style="">Listener returns</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-BlockingResponse">BlockingResponse</a>
</span>
</span>
@@ -3382,7 +3382,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
+ <dd style="">If "blocking" is specified in the "extraInfoSpec" parameter, the event listener should return an object of this type.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3391,7 +3391,7 @@ samples</a>.</p>
</div>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onResponseStarted"></a>
<h4>onResponseStarted</h4>
<div class="summary">
@@ -3399,75 +3399,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onResponseStarted</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired when the first byte of the response body is received. For HTTP requests, this means that the status line and response headers are available.</p>
+ <p style="">Fired when the first byte of the response body is received. For HTTP requests, this means that the status line and response headers are available.</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -3475,227 +3475,227 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>ip</var>
+ <var style="">ip</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
+ <dd style="">The server IP address that the request was actually sent to. Note that it may be a literal IPv6 address.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>fromCache</var>
+ <var style="">fromCache</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Indicates if this response was fetched from disk cache.</dd>
+ <dd style="">Indicates if this response was fetched from disk cache.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusCode</var>
+ <var style="">statusCode</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP status code returned by the server.</dd>
+ <dd style="">Standard HTTP status code returned by the server.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -3703,31 +3703,31 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP response headers that were received along with this response.</dd>
+ <dd style="">The HTTP response headers that were received along with this response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>statusLine</var>
+ <var style="">statusLine</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>HTTP status line of the response.</dd>
+ <dd style="">HTTP status line of the response.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3744,19 +3744,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -3764,28 +3764,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["responseHeaders"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["responseHeaders"]</span>
</span>
</span></span>
</span>
@@ -3795,7 +3795,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -3808,7 +3808,7 @@ samples</a>.</p>
<dl>
</dl>
</div> <!-- /description -->
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="event-onSendHeaders"></a>
<h4>onSendHeaders</h4>
<div class="summary">
@@ -3816,75 +3816,75 @@ samples</a>.</p>
<span class="subdued">chrome.webRequest.</span><span>onSendHeaders</span><span class="subdued">.addListener</span>(function(<span>object details</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of string extraInfoSpec</span>);
</div>
<div class="description">
- <p>Fired just before a request is going to be sent to the server (modifications of previous onBeforeSendHeaders callbacks are visible by the time onSendHeaders is fired).</p>
+ <p style="">Fired just before a request is going to be sent to the server (modifications of previous onBeforeSendHeaders callbacks are visible by the time onSendHeaders is fired).</p>
<!-- LISTENER PARAMETERS -->
- <div>
+ <div style="">
<h4>Listener parameters</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>details</var>
+ <var style="">details</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>requestId</var>
+ <var style="">requestId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
+ <dd style="">The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>url</var>
+ <var style="">url</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -3892,157 +3892,157 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>method</var>
+ <var style="">method</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Standard HTTP method.</dd>
+ <dd style="">Standard HTTP method.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>frameId</var>
+ <var style="">frameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
+ <dd style="">The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (<code>type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>parentFrameId</var>
+ <var style="">parentFrameId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
+ <dd style="">ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
+ <dd style="">The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>type</var>
+ <var style="">type</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="enum">enumerated</span>
+ <span class="enum" style="">enumerated</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>How the requested resource will be used.</dd>
+ <dd style="">How the requested resource will be used.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>timeStamp</var>
+ <var style="">timeStamp</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>number</span>
+ <span style="">
+ <span style="">number</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>The time when this signal is triggered, in milliseconds since the epoch.</dd>
+ <dd style="">The time when this signal is triggered, in milliseconds since the epoch.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>requestHeaders</var>
+ <var style="">requestHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -4050,7 +4050,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>The HTTP request headers that have been sent out with this request.</dd>
+ <dd style="">The HTTP request headers that have been sent out with this request.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -4067,19 +4067,19 @@ samples</a>.</p>
</dl>
</div>
<!-- EXTRA PARAMETERS -->
- <div>
+ <div style="">
<h4>Extra parameters to addListener</h4>
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>filter</var>
+ <var style="">filter</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-RequestFilter">RequestFilter</a>
</span>
</span>
@@ -4087,28 +4087,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A set of filters that restricts the events that will be sent to this listener.</dd>
+ <dd style="">A set of filters that restricts the events that will be sent to this listener.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>extraInfoSpec</var>
+ <var style="">extraInfoSpec</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["requestHeaders"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["requestHeaders"]</span>
</span>
</span></span>
</span>
@@ -4118,7 +4118,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Array of extra information that should be passed to the listener function.</dd>
+ <dd style="">Array of extra information that should be passed to the listener function.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -4134,11 +4134,11 @@ samples</a>.</p>
</div> <!-- /apiItem -->
</div> <!-- /apiGroup -->
<!-- TYPES -->
- <div class="apiGroup">
+ <div class="apiGroup" style="">
<a name="types"></a>
<h3 id="types">Types</h3>
<!-- iterates over all types -->
- <div class="apiItem">
+ <div class="apiItem" style="">
<a name="type-RequestFilter"></a>
<h4>RequestFilter</h4>
<div>
@@ -4148,32 +4148,32 @@ samples</a>.</p>
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>An object describing filters to apply to webRequest events.</dd>
+ <dd style="">An object describing filters to apply to webRequest events.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>urls</var>
+ <var style="">urls</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
</span>
</span></span>
</span>
@@ -4183,28 +4183,28 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out.</dd>
+ <dd style="">A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>types</var>
+ <var style="">types</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>string</span>
- <span>["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">string</span>
+ <span style="">["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"]</span>
</span>
</span></span>
</span>
@@ -4214,31 +4214,31 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>A list of request types. Requests that cannot match any of the types will be filtered out.</dd>
+ <dd style="">A list of request types. Requests that cannot match any of the types will be filtered out.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>tabId</var>
+ <var style="">tabId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -4246,25 +4246,25 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>windowId</var>
+ <var style="">windowId</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -4279,7 +4279,7 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="type-HttpHeaders"></a>
<h4>HttpHeaders</h4>
<div>
@@ -4289,11 +4289,11 @@ samples</a>.</p>
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">object</span>
</span>
</span></span>
</span>
@@ -4303,72 +4303,72 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>An array of HTTP headers. Each header is represented as a dictionary containing the keys <code>name</code> and either <code>value</code> or <code>binaryValue</code>.</dd>
+ <dd style="">An array of HTTP headers. Each header is represented as a dictionary containing the keys <code>name</code> and either <code>value</code> or <code>binaryValue</code>.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>name</var>
+ <var style="">name</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Name of the HTTP header.</dd>
+ <dd style="">Name of the HTTP header.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>value</var>
+ <var style="">value</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Value of the HTTP header if it can be represented by UTF-8.</dd>
+ <dd style="">Value of the HTTP header if it can be represented by UTF-8.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>binaryValue</var>
+ <var style="">binaryValue</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>
- array of <span><span>
- <span>
- <span>integer</span>
+ <span style="">
+ <span style="">
+ array of <span style=""><span>
+ <span style="">
+ <span style="">integer</span>
</span>
</span></span>
</span>
@@ -4378,7 +4378,7 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Value of the HTTP header if it cannot be represented by UTF-8, stored as individual byte values (0..255).</dd>
+ <dd style="">Value of the HTTP header if it cannot be represented by UTF-8, stored as individual byte values (0..255).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
@@ -4391,7 +4391,7 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div class="apiItem">
+ </div><div class="apiItem" style="">
<a name="type-BlockingResponse"></a>
<h4>BlockingResponse</h4>
<div>
@@ -4401,77 +4401,77 @@ samples</a>.</p>
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Returns value for event handlers that have the 'blocking' extraInfoSpec applied. Allows the event handler to modify network requests.</dd>
+ <dd style="">Returns value for event handlers that have the 'blocking' extraInfoSpec applied. Allows the event handler to modify network requests.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>cancel</var>
+ <var style="">cancel</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>boolean</span>
+ <span style="">
+ <span style="">boolean</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>If true, the request is cancelled. Used in onBeforeRequest, this prevents the request from being sent.</dd>
+ <dd style="">If true, the request is cancelled. Used in onBeforeRequest, this prevents the request from being sent.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>redirectUrl</var>
+ <var style="">redirectUrl</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Only used as a response to the onBeforeRequest event. If set, the original request is prevented from being sent and is instead redirected to the given URL.</dd>
+ <dd style="">Only used as a response to the onBeforeRequest event. If set, the original request is prevented from being sent and is instead redirected to the given URL.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>requestHeaders</var>
+ <var style="">requestHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -4479,23 +4479,23 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Only used as a response to the onBeforeSendHeaders event. If set, the request is made with these request headers instead.</dd>
+ <dd style="">Only used as a response to the onBeforeSendHeaders event. If set, the request is made with these request headers instead.</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>responseHeaders</var>
+ <var style="">responseHeaders</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
+ <span style="">
<a href="webRequest.html#type-HttpHeaders">HttpHeaders</a>
</span>
</span>
@@ -4503,52 +4503,52 @@ samples</a>.</p>
</div>
</em>
</dt>
- <dd>Only used as a response to the onHeadersReceived event. If set, the server is assumed to have responded with these response headers instead. Only return <code>responseHeaders</code> if you really want to modify the headers in order to limit the number of conflicts (only one extension may modify <code>responseHeaders</code> for each request).</dd>
+ <dd style="">Only used as a response to the onHeadersReceived event. If set, the server is assumed to have responded with these response headers instead. Only return <code>responseHeaders</code> if you really want to modify the headers in order to limit the number of conflicts (only one extension may modify <code>responseHeaders</code> for each request).</dd>
<!-- OBJECT PROPERTIES -->
<!-- OBJECT METHODS -->
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>authCredentials</var>
+ <var style="">authCredentials</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
- <span class="optional">optional</span>
+ <span class="optional" style="">optional</span>
<span id="typeTemplate">
- <span>
- <span>object</span>
+ <span style="">
+ <span style="">object</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd>Only used as a response to the onAuthRequired event. If set, the request is made using the supplied credentials.</dd>
+ <dd style="">Only used as a response to the onAuthRequired event. If set, the request is made using the supplied credentials.</dd>
<!-- OBJECT PROPERTIES -->
- <dd>
+ <dd style="">
<dl>
- <div>
+ <div style="">
<div>
<dt>
- <var>username</var>
+ <var style="">username</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->
@@ -4556,24 +4556,24 @@ samples</a>.</p>
<!-- OBJECT EVENT FIELDS -->
<!-- FUNCTION PARAMETERS -->
</div>
- </div><div>
+ </div><div style="">
<div>
<dt>
- <var>password</var>
+ <var style="">password</var>
<em>
<!-- TYPE -->
<div style="display:inline">
(
<span id="typeTemplate">
- <span>
- <span>string</span>
+ <span style="">
+ <span style="">string</span>
</span>
</span>
)
</div>
</em>
</dt>
- <dd class="todo">
+ <dd class="todo" style="">
Undocumented.
</dd>
<!-- OBJECT PROPERTIES -->

Powered by Google App Engine
This is Rietveld 408576698