OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 <ol> | 271 <ol> |
272 </ol> | 272 </ol> |
273 </li><li> | 273 </li><li> |
274 <a href="#type-webRequest.HttpHeaders">HttpHeaders</a> | 274 <a href="#type-webRequest.HttpHeaders">HttpHeaders</a> |
275 <ol> | 275 <ol> |
276 </ol> | 276 </ol> |
277 </li><li> | 277 </li><li> |
278 <a href="#type-webRequest.BlockingResponse">BlockingResponse</a> | 278 <a href="#type-webRequest.BlockingResponse">BlockingResponse</a> |
279 <ol> | 279 <ol> |
280 </ol> | 280 </ol> |
| 281 </li><li> |
| 282 <a href="#type-webRequest.UploadData">UploadData</a> |
| 283 <ol> |
| 284 </ol> |
281 </li> | 285 </li> |
282 </ol> | 286 </ol> |
283 </li> | 287 </li> |
284 </ol> | 288 </ol> |
285 </li> | 289 </li> |
286 </ol> | 290 </ol> |
287 </div> | 291 </div> |
288 <!-- /TABLE OF CONTENTS --> | 292 <!-- /TABLE OF CONTENTS --> |
289 <!-- Standard content lead-in for experimental API pages --> | 293 <!-- Standard content lead-in for experimental API pages --> |
290 <!-- STATIC CONTENT PLACEHOLDER --> | 294 <!-- STATIC CONTENT PLACEHOLDER --> |
(...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1796 </dt> | 1800 </dt> |
1797 <dd>ID of frame that wraps the frame which sent the request. Set to -1
if no parent frame exists.</dd> | 1801 <dd>ID of frame that wraps the frame which sent the request. Set to -1
if no parent frame exists.</dd> |
1798 <!-- OBJECT PROPERTIES --> | 1802 <!-- OBJECT PROPERTIES --> |
1799 <!-- OBJECT METHODS --> | 1803 <!-- OBJECT METHODS --> |
1800 <!-- OBJECT EVENT FIELDS --> | 1804 <!-- OBJECT EVENT FIELDS --> |
1801 <!-- FUNCTION PARAMETERS --> | 1805 <!-- FUNCTION PARAMETERS --> |
1802 </div> | 1806 </div> |
1803 </div><div> | 1807 </div><div> |
1804 <div> | 1808 <div> |
1805 <dt> | 1809 <dt> |
| 1810 <var>requestBody</var> |
| 1811 <em> |
| 1812 <!-- TYPE --> |
| 1813 <div style="display:inline"> |
| 1814 ( |
| 1815 <span class="optional">optional</span> |
| 1816 <span id="typeTemplate"> |
| 1817 <span> |
| 1818 <span>object</span> |
| 1819 </span> |
| 1820 </span> |
| 1821 ) |
| 1822 </div> |
| 1823 </em> |
| 1824 </dt> |
| 1825 <dd>Experimental feature, only available in DEV or CANARY channels. Co
ntainer for request body data. Only provided if extraInfoSpec contains 'requestB
ody'. Currently only request body elements containing byte data or files are rep
orted.</dd> |
| 1826 <!-- OBJECT PROPERTIES --> |
| 1827 <dd> |
| 1828 <dl> |
| 1829 <div> |
| 1830 <div> |
| 1831 <dt> |
| 1832 <var>error</var> |
| 1833 <em> |
| 1834 <!-- TYPE --> |
| 1835 <div style="display:inline"> |
| 1836 ( |
| 1837 <span class="optional">optional</span> |
| 1838 <span id="typeTemplate"> |
| 1839 <span> |
| 1840 <span>string</span> |
| 1841 </span> |
| 1842 </span> |
| 1843 ) |
| 1844 </div> |
| 1845 </em> |
| 1846 </dt> |
| 1847 <dd>Errors when obtaining request body data.</dd> |
| 1848 <!-- OBJECT PROPERTIES --> |
| 1849 <!-- OBJECT METHODS --> |
| 1850 <!-- OBJECT EVENT FIELDS --> |
| 1851 <!-- FUNCTION PARAMETERS --> |
| 1852 </div> |
| 1853 </div><div> |
| 1854 <div> |
| 1855 <dt> |
| 1856 <var>formData</var> |
| 1857 <em> |
| 1858 <!-- TYPE --> |
| 1859 <div style="display:inline"> |
| 1860 ( |
| 1861 <span class="optional">optional</span> |
| 1862 <span id="typeTemplate"> |
| 1863 <span> |
| 1864 <span>object</span> |
| 1865 </span> |
| 1866 </span> |
| 1867 ) |
| 1868 </div> |
| 1869 </em> |
| 1870 </dt> |
| 1871 <dd>If the request method is POST and the body is a sequence of key-va
lue pairs encoded in UTF8, encoded as either multipart/form-data, or application
/x-www-form-urlencoded, this dictionary is present and for each key contains the
list of all values for that key. If the data is of another media type, or if it
is malformed, the dictionary is not present. An example value of this dictionar
y is {'key': ['value1', 'value2']}.</dd> |
| 1872 <!-- OBJECT PROPERTIES --> |
| 1873 <dd> |
| 1874 <dl> |
| 1875 </dl> |
| 1876 </dd> |
| 1877 <!-- OBJECT METHODS --> |
| 1878 <!-- OBJECT EVENT FIELDS --> |
| 1879 <!-- FUNCTION PARAMETERS --> |
| 1880 </div> |
| 1881 </div><div> |
| 1882 <div> |
| 1883 <dt> |
| 1884 <var>raw</var> |
| 1885 <em> |
| 1886 <!-- TYPE --> |
| 1887 <div style="display:inline"> |
| 1888 ( |
| 1889 <span class="optional">optional</span> |
| 1890 <span id="typeTemplate"> |
| 1891 <span> |
| 1892 <span> |
| 1893 array of <span><span> |
| 1894 <span> |
| 1895 <a href="webRequest.html#type-webRequest.UploadData">web
Request.UploadData</a> |
| 1896 </span> |
| 1897 </span></span> |
| 1898 </span> |
| 1899 </span> |
| 1900 </span> |
| 1901 ) |
| 1902 </div> |
| 1903 </em> |
| 1904 </dt> |
| 1905 <dd>If the request method is PUT or POST, and the body is not already
parsed in formData, then the unparsed request body elements are contained in thi
s array.</dd> |
| 1906 <!-- OBJECT PROPERTIES --> |
| 1907 <!-- OBJECT METHODS --> |
| 1908 <!-- OBJECT EVENT FIELDS --> |
| 1909 <!-- FUNCTION PARAMETERS --> |
| 1910 </div> |
| 1911 </div> |
| 1912 </dl> |
| 1913 </dd> |
| 1914 <!-- OBJECT METHODS --> |
| 1915 <!-- OBJECT EVENT FIELDS --> |
| 1916 <!-- FUNCTION PARAMETERS --> |
| 1917 </div> |
| 1918 </div><div> |
| 1919 <div> |
| 1920 <dt> |
1806 <var>tabId</var> | 1921 <var>tabId</var> |
1807 <em> | 1922 <em> |
1808 <!-- TYPE --> | 1923 <!-- TYPE --> |
1809 <div style="display:inline"> | 1924 <div style="display:inline"> |
1810 ( | 1925 ( |
1811 <span id="typeTemplate"> | 1926 <span id="typeTemplate"> |
1812 <span> | 1927 <span> |
1813 <span>integer</span> | 1928 <span>integer</span> |
1814 </span> | 1929 </span> |
1815 </span> | 1930 </span> |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1916 <!-- TYPE --> | 2031 <!-- TYPE --> |
1917 <div style="display:inline"> | 2032 <div style="display:inline"> |
1918 ( | 2033 ( |
1919 <span class="optional">optional</span> | 2034 <span class="optional">optional</span> |
1920 <span id="typeTemplate"> | 2035 <span id="typeTemplate"> |
1921 <span> | 2036 <span> |
1922 <span> | 2037 <span> |
1923 array of <span><span> | 2038 array of <span><span> |
1924 <span> | 2039 <span> |
1925 <span>string</span> | 2040 <span>string</span> |
1926 <span>["blocking"]</span> | 2041 <span>["blocking", "requestBody"]</span> |
1927 </span> | 2042 </span> |
1928 </span></span> | 2043 </span></span> |
1929 </span> | 2044 </span> |
1930 </span> | 2045 </span> |
1931 </span> | 2046 </span> |
1932 ) | 2047 ) |
1933 </div> | 2048 </div> |
1934 </em> | 2049 </em> |
1935 </dt> | 2050 </dt> |
1936 <dd>Array of extra information that should be passed to the listener f
unction.</dd> | 2051 <dd>Array of extra information that should be passed to the listener f
unction.</dd> |
(...skipping 2720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4657 <!-- OBJECT EVENT FIELDS --> | 4772 <!-- OBJECT EVENT FIELDS --> |
4658 <!-- FUNCTION PARAMETERS --> | 4773 <!-- FUNCTION PARAMETERS --> |
4659 </div> | 4774 </div> |
4660 </div> | 4775 </div> |
4661 </dl> | 4776 </dl> |
4662 </dd> | 4777 </dd> |
4663 <!-- OBJECT METHODS --> | 4778 <!-- OBJECT METHODS --> |
4664 <!-- OBJECT EVENT FIELDS --> | 4779 <!-- OBJECT EVENT FIELDS --> |
4665 <!-- FUNCTION PARAMETERS --> | 4780 <!-- FUNCTION PARAMETERS --> |
4666 </div> | 4781 </div> |
| 4782 </div><div class="apiItem"> |
| 4783 <a name="type-webRequest.UploadData"></a> |
| 4784 <h4>webRequest.UploadData</h4> |
| 4785 <div> |
| 4786 <dt> |
| 4787 <em> |
| 4788 <!-- TYPE --> |
| 4789 <div style="display:inline"> |
| 4790 ( |
| 4791 <span id="typeTemplate"> |
| 4792 <span> |
| 4793 <span>object</span> |
| 4794 </span> |
| 4795 </span> |
| 4796 ) |
| 4797 </div> |
| 4798 </em> |
| 4799 </dt> |
| 4800 <dd>Contains data uploaded in a URL request.</dd> |
| 4801 <!-- OBJECT PROPERTIES --> |
| 4802 <dd> |
| 4803 <dl> |
| 4804 <div> |
| 4805 <div> |
| 4806 <dt> |
| 4807 <var>bytes</var> |
| 4808 <em> |
| 4809 <!-- TYPE --> |
| 4810 <div style="display:inline"> |
| 4811 ( |
| 4812 <span class="optional">optional</span> |
| 4813 <span id="typeTemplate"> |
| 4814 <span> |
| 4815 <span>any</span> |
| 4816 </span> |
| 4817 </span> |
| 4818 ) |
| 4819 </div> |
| 4820 </em> |
| 4821 </dt> |
| 4822 <dd>An ArrayBuffer with a copy of the data.</dd> |
| 4823 <!-- OBJECT PROPERTIES --> |
| 4824 <!-- OBJECT METHODS --> |
| 4825 <!-- OBJECT EVENT FIELDS --> |
| 4826 <!-- FUNCTION PARAMETERS --> |
| 4827 </div> |
| 4828 </div><div> |
| 4829 <div> |
| 4830 <dt> |
| 4831 <var>file</var> |
| 4832 <em> |
| 4833 <!-- TYPE --> |
| 4834 <div style="display:inline"> |
| 4835 ( |
| 4836 <span class="optional">optional</span> |
| 4837 <span id="typeTemplate"> |
| 4838 <span> |
| 4839 <span>string</span> |
| 4840 </span> |
| 4841 </span> |
| 4842 ) |
| 4843 </div> |
| 4844 </em> |
| 4845 </dt> |
| 4846 <dd>A string with the file's path and name.</dd> |
| 4847 <!-- OBJECT PROPERTIES --> |
| 4848 <!-- OBJECT METHODS --> |
| 4849 <!-- OBJECT EVENT FIELDS --> |
| 4850 <!-- FUNCTION PARAMETERS --> |
| 4851 </div> |
| 4852 </div> |
| 4853 </dl> |
| 4854 </dd> |
| 4855 <!-- OBJECT METHODS --> |
| 4856 <!-- OBJECT EVENT FIELDS --> |
| 4857 <!-- FUNCTION PARAMETERS --> |
| 4858 </div> |
4667 </div> <!-- /apiItem --> | 4859 </div> <!-- /apiItem --> |
4668 </div> <!-- /apiGroup --> | 4860 </div> <!-- /apiGroup --> |
4669 </div> <!-- /apiPage --> | 4861 </div> <!-- /apiPage --> |
4670 </div> <!-- /gc-pagecontent --> | 4862 </div> <!-- /gc-pagecontent --> |
4671 </div> <!-- /g-section --> | 4863 </div> <!-- /g-section --> |
4672 </div> <!-- /codesiteContent --> | 4864 </div> <!-- /codesiteContent --> |
4673 <div id="gc-footer" --=""> | 4865 <div id="gc-footer" --=""> |
4674 <div class="text"> | 4866 <div class="text"> |
4675 <p> | 4867 <p> |
4676 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, | 4868 Except as otherwise <a href="http://code.google.com/policies.html#restrictions
">noted</a>, |
(...skipping 29 matching lines...) Expand all Loading... |
4706 _uff=0; | 4898 _uff=0; |
4707 urchinTracker(); | 4899 urchinTracker(); |
4708 } | 4900 } |
4709 catch(e) {/* urchinTracker not available. */} | 4901 catch(e) {/* urchinTracker not available. */} |
4710 </script> | 4902 </script> |
4711 <!-- end analytics --> | 4903 <!-- end analytics --> |
4712 </div> | 4904 </div> |
4713 </div> <!-- /gc-footer --> | 4905 </div> <!-- /gc-footer --> |
4714 </div> <!-- /gc-container --> | 4906 </div> <!-- /gc-container --> |
4715 </body></html> | 4907 </body></html> |
OLD | NEW |