diff --git a/src/schema/imported/context_menus.json b/src/schema/imported/context_menus.json index 35c16bb972f..0b6b232ec5a 100644 --- a/src/schema/imported/context_menus.json +++ b/src/schema/imported/context_menus.json @@ -725,7 +725,6 @@ "required": [ "menuItemId", "editable", - "bookmarkId", "modifiers" ] } diff --git a/src/schema/imported/declarative_net_request.json b/src/schema/imported/declarative_net_request.json index 3987c9d82fc..8d0b96374e8 100644 --- a/src/schema/imported/declarative_net_request.json +++ b/src/schema/imported/declarative_net_request.json @@ -6,6 +6,40 @@ "declarativeNetRequestWithHostAccess" ], "functions": [ + { + "name": "updateDynamicRules", + "type": "function", + "description": "Modifies the current set of dynamic rules for the extension. The rules with IDs listed in options.removeRuleIds are first removed, and then the rules given in options.addRules are added. These rules are persisted across browser sessions and extension updates.", + "async": "callback", + "parameters": [ + { + "name": "options", + "type": "object", + "properties": { + "removeRuleIds": { + "type": "array", + "description": "IDs of the rules to remove. Any invalid IDs will be ignored.", + "items": { + "type": "integer" + } + }, + "addRules": { + "type": "array", + "description": "Rules to add.", + "items": { + "$ref": "#/types/Rule" + } + } + } + }, + { + "name": "callback", + "type": "function", + "description": "Called when the dynamic rules have been updated", + "parameters": [] + } + ] + }, { "name": "updateSessionRules", "type": "function", @@ -112,6 +146,27 @@ } ] }, + { + "name": "getDynamicRules", + "type": "function", + "description": "Returns the current set of dynamic rules for the extension.", + "async": "callback", + "parameters": [ + { + "name": "callback", + "type": "function", + "parameters": [ + { + "name": "dynamicRules", + "type": "array", + "items": { + "$ref": "#/types/Rule" + } + } + ] + } + ] + }, { "name": "getSessionRules", "type": "function", @@ -123,6 +178,7 @@ "type": "function", "parameters": [ { + "name": "sessionRules", "type": "array", "items": { "$ref": "#/types/Rule" diff --git a/src/schema/imported/manifest.json b/src/schema/imported/manifest.json index f653c63c38f..2b13590ec75 100644 --- a/src/schema/imported/manifest.json +++ b/src/schema/imported/manifest.json @@ -350,7 +350,6 @@ }, "extension_ids": { "type": "array", - "minItems": 1, "items": { "anyOf": [ { diff --git a/src/schema/imported/menus.json b/src/schema/imported/menus.json index 736f0c619c2..0682e9b3700 100644 --- a/src/schema/imported/menus.json +++ b/src/schema/imported/menus.json @@ -724,7 +724,6 @@ "required": [ "menuItemId", "editable", - "bookmarkId", "modifiers" ] } diff --git a/src/schema/imported/telemetry.json b/src/schema/imported/telemetry.json index b5a223ec70c..8e22163907d 100644 --- a/src/schema/imported/telemetry.json +++ b/src/schema/imported/telemetry.json @@ -8,7 +8,7 @@ { "name": "submitPing", "type": "function", - "description": "Submits a custom ping to the Telemetry back-end. See submitExternalPing inside TelemetryController.jsm for more details.", + "description": "Submits a custom ping to the Telemetry back-end. See submitExternalPing inside TelemetryController.sys.mjs for more details.", "async": true, "parameters": [ { diff --git a/src/schema/imported/web_request.json b/src/schema/imported/web_request.json index e332c00301c..8296ac5ba8c 100644 --- a/src/schema/imported/web_request.json +++ b/src/schema/imported/web_request.json @@ -1387,6 +1387,7 @@ "enum": [ "webRequest", "webRequestBlocking", + "webRequestFilterResponse", "webRequestFilterResponse.serviceWorkerScript" ] }