From ec45e72b8e44d2ef099d51e53bd522a50fabe276 Mon Sep 17 00:00:00 2001 From: Richard Bloor Date: Mon, 27 May 2024 16:15:57 +1200 Subject: [PATCH 1/3] Add optional_host_permissions --- .../manifest/optional_host_permissions.json | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 webextensions/manifest/optional_host_permissions.json diff --git a/webextensions/manifest/optional_host_permissions.json b/webextensions/manifest/optional_host_permissions.json new file mode 100644 index 00000000000000..665476d504b901 --- /dev/null +++ b/webextensions/manifest/optional_host_permissions.json @@ -0,0 +1,29 @@ +{ + "webextensions": { + "manifest": { + "optional_host_permissions": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_host_permissions", + "support": { + "chrome": { + "version_added": "88", + "notes": "Available for use in Manifest V3 or later." + }, + "edge": "mirror", + "firefox": { + "version_added": "128", + "notes": "Available for use in Manifest V3 or later." + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": "15.5", + "notes": "Available for use in Manifest V3 or later." + }, + "safari_ios": "mirror" + } + } + } + } + } +} From 1c28d736f38af1add900b2420dc5d51954f19b5c Mon Sep 17 00:00:00 2001 From: rebloor Date: Wed, 17 Jul 2024 14:25:23 +1200 Subject: [PATCH 2/3] Feedback update Co-authored-by: Simeon Vincent --- webextensions/manifest/optional_host_permissions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webextensions/manifest/optional_host_permissions.json b/webextensions/manifest/optional_host_permissions.json index 665476d504b901..1710591f7ff117 100644 --- a/webextensions/manifest/optional_host_permissions.json +++ b/webextensions/manifest/optional_host_permissions.json @@ -6,7 +6,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_host_permissions", "support": { "chrome": { - "version_added": "88", + "version_added": "102", "notes": "Available for use in Manifest V3 or later." }, "edge": "mirror", From acb99de18fcd3b38ad6eb9876d9f5a720e4fe234 Mon Sep 17 00:00:00 2001 From: rebloor Date: Wed, 17 Jul 2024 14:31:19 +1200 Subject: [PATCH 3/3] remove mdn_url - linter failure, page pending --- webextensions/manifest/optional_host_permissions.json | 1 - 1 file changed, 1 deletion(-) diff --git a/webextensions/manifest/optional_host_permissions.json b/webextensions/manifest/optional_host_permissions.json index 1710591f7ff117..905fd5102eb7f4 100644 --- a/webextensions/manifest/optional_host_permissions.json +++ b/webextensions/manifest/optional_host_permissions.json @@ -3,7 +3,6 @@ "manifest": { "optional_host_permissions": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_host_permissions", "support": { "chrome": { "version_added": "102",