author | Kris Maglione <maglione.k@gmail.com> |
Thu, 02 Mar 2017 12:51:44 -0800 | |
changeset 345816 | f58322b063085e28748b2a3f22be331e73404d3a |
parent 345815 | fdf4387356577e0c5732b1120d62163393107db9 |
child 345817 | f67c47f25e6c8056bf22199d6d0596377526b7fa |
push id | 38307 |
push user | maglione.k@gmail.com |
push date | Fri, 03 Mar 2017 18:11:41 +0000 |
treeherder | autoland@f58322b06308 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | rpl |
bugs | 1343996 |
milestone | 54.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
toolkit/components/extensions/schemas/web_request.json | file | annotate | diff | comparison | revisions |
--- a/toolkit/components/extensions/schemas/web_request.json +++ b/toolkit/components/extensions/schemas/web_request.json @@ -97,23 +97,25 @@ { "id": "RequestFilter", "type": "object", "description": "An object describing filters to apply to webRequest events.", "properties": { "urls": { "type": "array", "description": "A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out.", - "items": { "type": "string" } + "items": { "type": "string" }, + "minItems": 1 }, "types": { "type": "array", "optional": true, "description": "A list of request types. Requests that cannot match any of the types will be filtered out.", - "items": { "$ref": "ResourceType" } + "items": { "$ref": "ResourceType" }, + "minItems": 1 }, "tabId": { "type": "integer", "optional": true }, "windowId": { "type": "integer", "optional": true } } }, { "id": "HttpHeaders", "type": "array",