Chromium Code Reviews| Index: extensions/common/api/web_request.json |
| diff --git a/extensions/common/api/web_request.json b/extensions/common/api/web_request.json |
| index b676a02f8361fa6481274875b9ffac331ee79421..5f1ccb1edd13d254ce8e7b6028420189882fc349 100644 |
| --- a/extensions/common/api/web_request.json |
| +++ b/extensions/common/api/web_request.json |
| @@ -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>." |
|
Devlin
2017/02/21 16:10:44
nit: While data: is technically a scheme, I don't
pkalinnikov
2017/02/21 19:18:16
Done.
|
| }, |
| "requestHeaders": { |
| "$ref": "HttpHeaders", |