| Index: chrome/common/extensions/api/experimental.webRequest.json
|
| diff --git a/chrome/common/extensions/api/experimental.webRequest.json b/chrome/common/extensions/api/experimental.webRequest.json
|
| index 38f5f667342524235f4067ef06ffd0e50a500d28..d76d11208a2ebd96fdd9937b46a2921e57a046c7 100644
|
| --- a/chrome/common/extensions/api/experimental.webRequest.json
|
| +++ b/chrome/common/extensions/api/experimental.webRequest.json
|
| @@ -86,10 +86,17 @@
|
| "description": "Matches if the URL ends with a specified string.",
|
| "optional": true
|
| },
|
| - "scheme": {
|
| - "type": "string",
|
| - "description": "Matches if the scheme of the URL is equal to a specified string (TODO: this will be expanded to an array).",
|
| - "optional": true
|
| + "schemes": {
|
| + "type": "array",
|
| + "description": "Matches if the scheme of the URL is equal to any of the schemes specified in the array.",
|
| + "optional": true,
|
| + "items": { "type": "string" }
|
| + },
|
| + "resourceType": {
|
| + "type": "array",
|
| + "optional": true,
|
| + "description": "Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.",
|
| + "items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
|
| },
|
| "instanceType": { "type": "string", "enum": ["experimental.webRequest.RequestMatcher"] }
|
| }
|
|
|