From 5bfdb4b9fe10cb9f02cb1ef749966970fa26d200 Mon Sep 17 00:00:00 2001 From: Carlos Jeurissen <1038267+CarlosJeurissen@users.noreply.github.com> Date: Tue, 31 May 2022 11:17:50 +0200 Subject: [PATCH 1/2] Add host_permissions and optional_host_permissions --- index.bs | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/index.bs b/index.bs index 94e23cc5..8d1685bc 100644 --- a/index.bs +++ b/index.bs @@ -63,6 +63,10 @@ The following keys must be considered valid: * `devtools_page`: optional * `externally_connectable`: optional +The following keys must be considered valid in manifest v3: +* `host_permissions`: optional +* `optional_host_permissions`: optional + ### Key `manifest_version` This key must be present. @@ -77,6 +81,22 @@ This key must be present. This property can be localized. This key must be present. +### Key `permissions` + +This key may be present. + +### Key `optional_permissions` + +This key may be present. + +### Key `host_permissions` + +This key may be present. + +### Key `optional_host_permissions` + +This key may be present. + ### Key `default_locale` This key must be present if the `_locales` subdirectory is present, must be absent otherwise. @@ -105,18 +125,10 @@ This key may be present. This key may be present. -### Key `optional_permissions` - -This key may be present. - ### Key `options_ui` This key may be present. -### Key `permissions` - -This key may be present. - ### Key `short_name` The short name of the extension. This value should be used in contexts where `name` is too long to use in full. If `short_name` is not provided, manifest consumers should use a truncated version of `name`. From 8c0d83528700d76a81be48e8126538f5d37626bc Mon Sep 17 00:00:00 2001 From: carlosjeurissen <1038267+carlosjeurissen@users.noreply.github.com> Date: Wed, 1 Jun 2022 09:02:30 +0200 Subject: [PATCH 2/2] Change Manifest V3 casing. Co-authored-by: Simeon Vincent --- index.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 8d1685bc..ab4d6795 100644 --- a/index.bs +++ b/index.bs @@ -63,7 +63,8 @@ The following keys must be considered valid: * `devtools_page`: optional * `externally_connectable`: optional -The following keys must be considered valid in manifest v3: +The following keys must be considered valid in Manifest V3: + * `host_permissions`: optional * `optional_host_permissions`: optional