зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5282d6aae2
Коммит
50b7c1be7e
|
@ -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 }
|
||||
|
|
Загрузка…
Ссылка в новой задаче