| Index: extensions/common/api/web_request.json
|
| diff --git a/extensions/common/api/web_request.json b/extensions/common/api/web_request.json
|
| index 4e314eb6c07e49ffad370b43061cae3b4f3b8505..723f09c581c9da0e56887724bbdfc97f5d9ba52a 100644
|
| --- a/extensions/common/api/web_request.json
|
| +++ b/extensions/common/api/web_request.json
|
| @@ -16,7 +16,7 @@
|
| {
|
| "id": "ResourceType",
|
| "type": "string",
|
| - "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "font", "object", "xmlhttprequest", "ping", "other"]
|
| + "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "font", "object", "xmlhttprequest", "ping", "websocket", "other"]
|
| },
|
| {
|
| "id": "OnBeforeRequestOptions",
|
| @@ -111,7 +111,7 @@
|
| "redirectUrl": {
|
| "type": "string",
|
| "optional": true,
|
| - "description": "Only used as a response to the onBeforeRequest and onHeadersReceived events. If set, the original request is prevented from being sent/completed and is instead redirected to the given URL. Redirections to non-HTTP schemes such as data: are allowed. Redirects initiated by a redirect action use the original request method for the redirect, with one exception: If the redirect is initiated at the onHeadersReceived stage, then the redirect will be issued using the GET method."
|
| + "description": "Only used as a response to the onBeforeRequest and onHeadersReceived events. If set, the original request is prevented from being sent/completed and is instead redirected to the given URL. Redirections to non-HTTP schemes such as <code>data://</code> are allowed. Redirects initiated by a redirect action use the original request method for the redirect, with one exception: If the redirect is initiated at the onHeadersReceived stage, then the redirect will be issued using the GET method. Redirects from URLs with <code>ws://</code> and <code>wss://</code> schemes are <b>ignored</b>."
|
| },
|
| "requestHeaders": {
|
| "$ref": "HttpHeaders",
|
|
|