diff options
Diffstat (limited to 'toolkit/components/extensions/schemas/declarative_net_request.json')
-rw-r--r-- | toolkit/components/extensions/schemas/declarative_net_request.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/toolkit/components/extensions/schemas/declarative_net_request.json b/toolkit/components/extensions/schemas/declarative_net_request.json index e7bdc02041..5c91fc1e35 100644 --- a/toolkit/components/extensions/schemas/declarative_net_request.json +++ b/toolkit/components/extensions/schemas/declarative_net_request.json @@ -439,6 +439,18 @@ } } } + }, + { + "id": "GetRulesFilter", + "type": "object", + "properties": { + "ruleIds": { + "type": "array", + "optional": true, + "description": "If specified, only rules with matching IDs are included.", + "items": { "type": "integer" } + } + } } ], "functions": [ @@ -589,6 +601,12 @@ "async": "callback", "parameters": [ { + "name": "filter", + "$ref": "GetRulesFilter", + "optional": true, + "description": "An object to filter the set of dynamic rules for the extension." + }, + { "name": "callback", "type": "function", "parameters": [ @@ -610,6 +628,12 @@ "async": "callback", "parameters": [ { + "name": "filter", + "$ref": "GetRulesFilter", + "optional": true, + "description": "An object to filter the set of session scoped rules for the extension." + }, + { "name": "callback", "type": "function", "parameters": [ |