| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "MessageSender", | 6 "id": "MessageSender", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "description": "An object containing information about the script contex
t that sent a message or request.", | 8 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 9 "properties": { | 9 "properties": { |
| 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, | 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property
will <b>only</b> be present when the connection was opened from a tab or content
script."}, |
| (...skipping 5802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5813 { | 5813 { |
| 5814 "namespace": "webRequest", | 5814 "namespace": "webRequest", |
| 5815 "types": [ | 5815 "types": [ |
| 5816 { | 5816 { |
| 5817 "id": "RequestFilter", | 5817 "id": "RequestFilter", |
| 5818 "type": "object", | 5818 "type": "object", |
| 5819 "description": "An object describing filters to apply to webRequest even
ts.", | 5819 "description": "An object describing filters to apply to webRequest even
ts.", |
| 5820 "properties": { | 5820 "properties": { |
| 5821 "urls": { | 5821 "urls": { |
| 5822 "type": "array", | 5822 "type": "array", |
| 5823 "optional": true, | |
| 5824 "description": "A list of URLs or URL patterns. Requests that cannot
match any of the URLs will be filtered out.", | 5823 "description": "A list of URLs or URL patterns. Requests that cannot
match any of the URLs will be filtered out.", |
| 5825 "items": { "type": "string" } | 5824 "items": { "type": "string" } |
| 5826 }, | 5825 }, |
| 5827 "types": { | 5826 "types": { |
| 5828 "type": "array", | 5827 "type": "array", |
| 5829 "optional": true, | 5828 "optional": true, |
| 5830 "description": "A list of request types. Requests that cannot match
any of the types will be filtered out.", | 5829 "description": "A list of request types. Requests that cannot match
any of the types will be filtered out.", |
| 5831 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } | 5830 "items": { "type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"] } |
| 5832 }, | 5831 }, |
| 5833 "tabId": { "type": "integer", "optional": true }, | 5832 "tabId": { "type": "integer", "optional": true }, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5892 "functions": [ | 5891 "functions": [ |
| 5893 { | 5892 { |
| 5894 "name": "addEventListener", | 5893 "name": "addEventListener", |
| 5895 "nodoc": true, | 5894 "nodoc": true, |
| 5896 "type": "function", | 5895 "type": "function", |
| 5897 "description": "Used internally to implement the special form of addList
ener for the webRequest events.", | 5896 "description": "Used internally to implement the special form of addList
ener for the webRequest events.", |
| 5898 "parameters": [ | 5897 "parameters": [ |
| 5899 {"type": "function", "name": "callback"}, | 5898 {"type": "function", "name": "callback"}, |
| 5900 { | 5899 { |
| 5901 "$ref": "RequestFilter", | 5900 "$ref": "RequestFilter", |
| 5902 "optional": true, | |
| 5903 "name": "filter", | 5901 "name": "filter", |
| 5904 "description": "A set of filters that restricts the events that will
be sent to this listener." | 5902 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 5905 }, | 5903 }, |
| 5906 { | 5904 { |
| 5907 "type": "array", | 5905 "type": "array", |
| 5908 "optional": true, | 5906 "optional": true, |
| 5909 "name": "extraInfoSpec", | 5907 "name": "extraInfoSpec", |
| 5910 "description": "Array of extra information that should be passed to
the listener function.", | 5908 "description": "Array of extra information that should be passed to
the listener function.", |
| 5911 "items": { | 5909 "items": { |
| 5912 "type": "string", | 5910 "type": "string", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5959 "parentFrameId": {"type": "integer", "description": "ID of frame t
hat wraps the frame which sent the request. Set to -1 if no parent frame exists.
"}, | 5957 "parentFrameId": {"type": "integer", "description": "ID of frame t
hat wraps the frame which sent the request. Set to -1 if no parent frame exists.
"}, |
| 5960 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, | 5958 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, |
| 5961 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, | 5959 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, |
| 5962 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."} | 5960 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."} |
| 5963 } | 5961 } |
| 5964 } | 5962 } |
| 5965 ], | 5963 ], |
| 5966 "extraParameters": [ | 5964 "extraParameters": [ |
| 5967 { | 5965 { |
| 5968 "$ref": "RequestFilter", | 5966 "$ref": "RequestFilter", |
| 5969 "optional": true, | |
| 5970 "name": "filter", | 5967 "name": "filter", |
| 5971 "description": "A set of filters that restricts the events that will
be sent to this listener." | 5968 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 5972 }, | 5969 }, |
| 5973 { | 5970 { |
| 5974 "type": "array", | 5971 "type": "array", |
| 5975 "optional": true, | 5972 "optional": true, |
| 5976 "name": "extraInfoSpec", | 5973 "name": "extraInfoSpec", |
| 5977 "description": "Array of extra information that should be passed to
the listener function.", | 5974 "description": "Array of extra information that should be passed to
the listener function.", |
| 5978 "items": { | 5975 "items": { |
| 5979 "type": "string", | 5976 "type": "string", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 6004 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, | 6001 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, |
| 6005 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, | 6002 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, |
| 6006 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, | 6003 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, |
| 6007 "requestHeaders": {"$ref": "HttpHeaders", "optional": true, "descr
iption": "The HTTP request headers that are going to be sent out with this reque
st."} | 6004 "requestHeaders": {"$ref": "HttpHeaders", "optional": true, "descr
iption": "The HTTP request headers that are going to be sent out with this reque
st."} |
| 6008 } | 6005 } |
| 6009 } | 6006 } |
| 6010 ], | 6007 ], |
| 6011 "extraParameters": [ | 6008 "extraParameters": [ |
| 6012 { | 6009 { |
| 6013 "$ref": "RequestFilter", | 6010 "$ref": "RequestFilter", |
| 6014 "optional": true, | |
| 6015 "name": "filter", | 6011 "name": "filter", |
| 6016 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6012 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6017 }, | 6013 }, |
| 6018 { | 6014 { |
| 6019 "type": "array", | 6015 "type": "array", |
| 6020 "optional": true, | 6016 "optional": true, |
| 6021 "name": "extraInfoSpec", | 6017 "name": "extraInfoSpec", |
| 6022 "description": "Array of extra information that should be passed to
the listener function.", | 6018 "description": "Array of extra information that should be passed to
the listener function.", |
| 6023 "items": { | 6019 "items": { |
| 6024 "type": "string", | 6020 "type": "string", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 6049 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, | 6045 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, |
| 6050 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, | 6046 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, |
| 6051 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, | 6047 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, |
| 6052 "requestHeaders": {"$ref": "HttpHeaders", "optional": true, "descr
iption": "The HTTP request headers that have been sent out with this request."} | 6048 "requestHeaders": {"$ref": "HttpHeaders", "optional": true, "descr
iption": "The HTTP request headers that have been sent out with this request."} |
| 6053 } | 6049 } |
| 6054 } | 6050 } |
| 6055 ], | 6051 ], |
| 6056 "extraParameters": [ | 6052 "extraParameters": [ |
| 6057 { | 6053 { |
| 6058 "$ref": "RequestFilter", | 6054 "$ref": "RequestFilter", |
| 6059 "optional": true, | |
| 6060 "name": "filter", | 6055 "name": "filter", |
| 6061 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6056 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6062 }, | 6057 }, |
| 6063 { | 6058 { |
| 6064 "type": "array", | 6059 "type": "array", |
| 6065 "optional": true, | 6060 "optional": true, |
| 6066 "name": "extraInfoSpec", | 6061 "name": "extraInfoSpec", |
| 6067 "description": "Array of extra information that should be passed to
the listener function.", | 6062 "description": "Array of extra information that should be passed to
the listener function.", |
| 6068 "items": { | 6063 "items": { |
| 6069 "type": "string", | 6064 "type": "string", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 6090 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, | 6085 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, |
| 6091 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, | 6086 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, |
| 6092 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"}, | 6087 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"}, |
| 6093 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that have been received with this response.
"} | 6088 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that have been received with this response.
"} |
| 6094 } | 6089 } |
| 6095 } | 6090 } |
| 6096 ], | 6091 ], |
| 6097 "extraParameters": [ | 6092 "extraParameters": [ |
| 6098 { | 6093 { |
| 6099 "$ref": "RequestFilter", | 6094 "$ref": "RequestFilter", |
| 6100 "optional": true, | |
| 6101 "name": "filter", | 6095 "name": "filter", |
| 6102 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6096 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6103 }, | 6097 }, |
| 6104 { | 6098 { |
| 6105 "type": "array", | 6099 "type": "array", |
| 6106 "optional": true, | 6100 "optional": true, |
| 6107 "name": "extraInfoSpec", | 6101 "name": "extraInfoSpec", |
| 6108 "description": "Array of extra information that should be passed to
the listener function.", | 6102 "description": "Array of extra information that should be passed to
the listener function.", |
| 6109 "items": { | 6103 "items": { |
| 6110 "type": "string", | 6104 "type": "string", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6148 "optional": true, | 6142 "optional": true, |
| 6149 "name": "callback", | 6143 "name": "callback", |
| 6150 "parameters": [ | 6144 "parameters": [ |
| 6151 {"name": "response", "$ref": "BlockingResponse"} | 6145 {"name": "response", "$ref": "BlockingResponse"} |
| 6152 ] | 6146 ] |
| 6153 } | 6147 } |
| 6154 ], | 6148 ], |
| 6155 "extraParameters": [ | 6149 "extraParameters": [ |
| 6156 { | 6150 { |
| 6157 "$ref": "RequestFilter", | 6151 "$ref": "RequestFilter", |
| 6158 "optional": true, | |
| 6159 "name": "filter", | 6152 "name": "filter", |
| 6160 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6153 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6161 }, | 6154 }, |
| 6162 { | 6155 { |
| 6163 "type": "array", | 6156 "type": "array", |
| 6164 "optional": true, | 6157 "optional": true, |
| 6165 "name": "extraInfoSpec", | 6158 "name": "extraInfoSpec", |
| 6166 "description": "Array of extra information that should be passed to
the listener function.", | 6159 "description": "Array of extra information that should be passed to
the listener function.", |
| 6167 "items": { | 6160 "items": { |
| 6168 "type": "string", | 6161 "type": "string", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 6197 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, | 6190 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, |
| 6198 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, | 6191 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, |
| 6199 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this response
."}, | 6192 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this response
."}, |
| 6200 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} | 6193 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} |
| 6201 } | 6194 } |
| 6202 } | 6195 } |
| 6203 ], | 6196 ], |
| 6204 "extraParameters": [ | 6197 "extraParameters": [ |
| 6205 { | 6198 { |
| 6206 "$ref": "RequestFilter", | 6199 "$ref": "RequestFilter", |
| 6207 "optional": true, | |
| 6208 "name": "filter", | 6200 "name": "filter", |
| 6209 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6201 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6210 }, | 6202 }, |
| 6211 { | 6203 { |
| 6212 "type": "array", | 6204 "type": "array", |
| 6213 "optional": true, | 6205 "optional": true, |
| 6214 "name": "extraInfoSpec", | 6206 "name": "extraInfoSpec", |
| 6215 "description": "Array of extra information that should be passed to
the listener function.", | 6207 "description": "Array of extra information that should be passed to
the listener function.", |
| 6216 "items": { | 6208 "items": { |
| 6217 "type": "string", | 6209 "type": "string", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 6242 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, | 6234 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, |
| 6243 "redirectUrl": {"type": "string", "description": "The new URL."}, | 6235 "redirectUrl": {"type": "string", "description": "The new URL."}, |
| 6244 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this redirect
."}, | 6236 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this redirect
."}, |
| 6245 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} | 6237 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} |
| 6246 } | 6238 } |
| 6247 } | 6239 } |
| 6248 ], | 6240 ], |
| 6249 "extraParameters": [ | 6241 "extraParameters": [ |
| 6250 { | 6242 { |
| 6251 "$ref": "RequestFilter", | 6243 "$ref": "RequestFilter", |
| 6252 "optional": true, | |
| 6253 "name": "filter", | 6244 "name": "filter", |
| 6254 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6245 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6255 }, | 6246 }, |
| 6256 { | 6247 { |
| 6257 "type": "array", | 6248 "type": "array", |
| 6258 "optional": true, | 6249 "optional": true, |
| 6259 "name": "extraInfoSpec", | 6250 "name": "extraInfoSpec", |
| 6260 "description": "Array of extra information that should be passed to
the listener function.", | 6251 "description": "Array of extra information that should be passed to
the listener function.", |
| 6261 "items": { | 6252 "items": { |
| 6262 "type": "string", | 6253 "type": "string", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6286 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, | 6277 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, |
| 6287 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, | 6278 "statusCode": {"type": "integer", "description": "Standard HTTP st
atus code returned by the server."}, |
| 6288 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this response
."}, | 6279 "responseHeaders": {"$ref": "HttpHeaders", "optional": true, "desc
ription": "The HTTP response headers that were received along with this response
."}, |
| 6289 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} | 6280 "statusLine": {"type": "string", "optional": true, "description":
"HTTP status line of the response"} |
| 6290 } | 6281 } |
| 6291 } | 6282 } |
| 6292 ], | 6283 ], |
| 6293 "extraParameters": [ | 6284 "extraParameters": [ |
| 6294 { | 6285 { |
| 6295 "$ref": "RequestFilter", | 6286 "$ref": "RequestFilter", |
| 6296 "optional": true, | |
| 6297 "name": "filter", | 6287 "name": "filter", |
| 6298 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6288 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6299 }, | 6289 }, |
| 6300 { | 6290 { |
| 6301 "type": "array", | 6291 "type": "array", |
| 6302 "optional": true, | 6292 "optional": true, |
| 6303 "name": "extraInfoSpec", | 6293 "name": "extraInfoSpec", |
| 6304 "description": "Array of extra information that should be passed to
the listener function.", | 6294 "description": "Array of extra information that should be passed to
the listener function.", |
| 6305 "items": { | 6295 "items": { |
| 6306 "type": "string", | 6296 "type": "string", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 6328 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, | 6318 "timeStamp": {"type": "number", "description": "The time when this
signal is triggered, in milliseconds since the epoch."}, |
| 6329 "ip": {"type": "string", "optional": true, "description": "The ser
ver IP address that the request was actually sent to. Note that it may be a lite
ral IPv6 address."}, | 6319 "ip": {"type": "string", "optional": true, "description": "The ser
ver IP address that the request was actually sent to. Note that it may be a lite
ral IPv6 address."}, |
| 6330 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, | 6320 "fromCache": {"type": "boolean", "description": "Indicates if this
response was fetched from disk cache."}, |
| 6331 "error": {"type": "string", "description": "The error description.
This string is <em>not</em> guaranteed to remain backwards compatible between r
eleases. You must not parse and act based upon its content."} | 6321 "error": {"type": "string", "description": "The error description.
This string is <em>not</em> guaranteed to remain backwards compatible between r
eleases. You must not parse and act based upon its content."} |
| 6332 } | 6322 } |
| 6333 } | 6323 } |
| 6334 ], | 6324 ], |
| 6335 "extraParameters": [ | 6325 "extraParameters": [ |
| 6336 { | 6326 { |
| 6337 "$ref": "RequestFilter", | 6327 "$ref": "RequestFilter", |
| 6338 "optional": true, | |
| 6339 "name": "filter", | 6328 "name": "filter", |
| 6340 "description": "A set of filters that restricts the events that will
be sent to this listener." | 6329 "description": "A set of filters that restricts the events that will
be sent to this listener." |
| 6341 } | 6330 } |
| 6342 ] | 6331 ] |
| 6343 } | 6332 } |
| 6344 ] | 6333 ] |
| 6345 }, | 6334 }, |
| 6346 { | 6335 { |
| 6347 "namespace": "test", | 6336 "namespace": "test", |
| 6348 "nodoc": true, | 6337 "nodoc": true, |
| (...skipping 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9381 "enum": ["enabled", "disabled", "forced"], | 9370 "enum": ["enabled", "disabled", "forced"], |
| 9382 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." | 9371 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." |
| 9383 } | 9372 } |
| 9384 ] | 9373 ] |
| 9385 } | 9374 } |
| 9386 ] | 9375 ] |
| 9387 } | 9376 } |
| 9388 ] | 9377 ] |
| 9389 } | 9378 } |
| 9390 ] | 9379 ] |
| OLD | NEW |