From 80a54d6d5b50eb3365f77aed939837f51f91abc4 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 5 Sep 2024 01:26:36 -0700 Subject: [PATCH 1/2] Update Chromium data for permissions Web Extensions interface This PR updates and corrects version values for Chromium (Chrome, Opera, Samsung Internet, WebView Android) for the `permissions` Web Extensions interface. The data comes from a commit in the browser's source code, mapped to a version number using available tooling or via the commit timestamp. Commit: https://source.chromium.org/chromium/chromium/src/+/fdacba32736298fa743c670d8146c736d41394b1 --- webextensions/api/permissions.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webextensions/api/permissions.json b/webextensions/api/permissions.json index 537d9a716cb88b..71ca91b050932c 100644 --- a/webextensions/api/permissions.json +++ b/webextensions/api/permissions.json @@ -6,7 +6,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -29,7 +29,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/Permissions", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -53,7 +53,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/contains", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -77,7 +77,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/getAll", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -101,7 +101,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/onAdded", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -123,7 +123,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/onRemoved", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -145,7 +145,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/remove", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { @@ -171,7 +171,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/request", "support": { "chrome": { - "version_added": "≤59" + "version_added": "17" }, "edge": "mirror", "firefox": { From 4cdc14303627bb0aae87bbc2cca0be38d4b80b13 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Tue, 26 Nov 2024 14:25:43 -0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --- webextensions/api/permissions.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webextensions/api/permissions.json b/webextensions/api/permissions.json index c367463fa13a90..2171c3635e1556 100644 --- a/webextensions/api/permissions.json +++ b/webextensions/api/permissions.json @@ -6,7 +6,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -29,7 +29,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/Permissions", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -53,7 +53,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/contains", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -77,7 +77,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/getAll", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -101,7 +101,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/onAdded", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -123,7 +123,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/onRemoved", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -145,7 +145,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/remove", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": { @@ -171,7 +171,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/request", "support": { "chrome": { - "version_added": "17" + "version_added": "16" }, "edge": "mirror", "firefox": {