Bug 1343996: Forbid empty types and urls request filter arrays. r=rpl

MozReview-Commit-ID: IsMwRYVo9t9

--HG--
extra : rebase_source : 53f9ca3b962638fc15259bee2cdf4c968880c3b6
This commit is contained in:
Kris Maglione 2017-03-02 12:51:44 -08:00
parent 5282d6aae2
commit 50b7c1be7e

View File

@ -102,13 +102,15 @@
"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 }