From d09266c5c1f4f8c82a7e9ba69b888fa21ba4b7e6 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Thu, 29 Feb 2024 12:54:27 +0100 Subject: [PATCH] Add missing __compat+mdn_url to top-level extension namespaces --- webextensions/api/alarms.json | 24 ++++ webextensions/api/browserSettings.json | 18 +++ webextensions/api/browsingData.json | 22 ++++ webextensions/api/captivePortal.json | 20 +++ webextensions/api/clipboard.json | 18 +++ webextensions/api/commands.json | 22 ++++ webextensions/api/contextualIdentities.json | 44 +++++++ webextensions/api/declarativeNetRequest.json | 18 +++ webextensions/api/devtools.json | 92 +++++++++++++ webextensions/api/downloads.json | 23 ++++ webextensions/api/events.json | 22 ++++ webextensions/api/extension.json | 22 ++++ webextensions/api/extensionTypes.json | 24 ++++ webextensions/api/find.json | 20 +++ webextensions/api/history.json | 22 ++++ webextensions/api/i18n.json | 24 ++++ webextensions/api/identity.json | 24 ++++ webextensions/api/idle.json | 22 ++++ webextensions/api/management.json | 20 +++ webextensions/api/menus.json | 30 +++++ webextensions/api/notifications.json | 24 ++++ webextensions/api/omnibox.json | 20 +++ webextensions/api/pageAction.json | 24 ++++ webextensions/api/permissions.json | 24 ++++ webextensions/api/pkcs11.json | 20 +++ webextensions/api/privacy.json | 72 ++++++++++ webextensions/api/proxy.json | 131 +++++++++++-------- webextensions/api/runtime.json | 22 ++++ webextensions/api/search.json | 20 +++ webextensions/api/sessions.json | 22 ++++ webextensions/api/sidebarAction.json | 22 ++++ webextensions/api/storage.json | 25 ++++ webextensions/api/tabs.json | 24 ++++ webextensions/api/theme.json | 20 +++ webextensions/api/topSites.json | 23 ++++ webextensions/api/types.json | 20 +++ webextensions/api/webNavigation.json | 22 ++++ webextensions/api/webRequest.json | 22 ++++ webextensions/api/windows.json | 128 ++++++++++-------- 39 files changed, 1108 insertions(+), 108 deletions(-) diff --git a/webextensions/api/alarms.json b/webextensions/api/alarms.json index 19c9e7a874bcb2..9edd658829121f 100644 --- a/webextensions/api/alarms.json +++ b/webextensions/api/alarms.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "alarms": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/alarms", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "Alarm": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/alarms/Alarm", diff --git a/webextensions/api/browserSettings.json b/webextensions/api/browserSettings.json index d0c0837e9ecfe0..94d06799f66ae8 100644 --- a/webextensions/api/browserSettings.json +++ b/webextensions/api/browserSettings.json @@ -2,6 +2,24 @@ "webextensions": { "api": { "browserSettings": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/browserSettings", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "57" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "allowPopupsForUserEvents": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/browserSettings/allowPopupsForUserEvents", diff --git a/webextensions/api/browsingData.json b/webextensions/api/browsingData.json index d7523ef65bee0e..3b01ea460dbf5c 100644 --- a/webextensions/api/browsingData.json +++ b/webextensions/api/browsingData.json @@ -2,9 +2,30 @@ "webextensions": { "api": { "browsingData": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/browsingData", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "53" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "DataTypeSet": { "cache": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/browsingData/DataTypeSet", "support": { "chrome": { "version_added": true @@ -309,6 +330,7 @@ "RemovalOptions": { "cookieStoreId": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/browsingData/RemovalOptions", "support": { "chrome": { "version_added": false diff --git a/webextensions/api/captivePortal.json b/webextensions/api/captivePortal.json index 88521dc9afdb95..7a9d080ba53e77 100644 --- a/webextensions/api/captivePortal.json +++ b/webextensions/api/captivePortal.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "captivePortal": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/captivePortal", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "72" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "canonicalURL": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/captivePortal/canonicalURL", diff --git a/webextensions/api/clipboard.json b/webextensions/api/clipboard.json index e224e8778c7c51..c8843647923c1e 100644 --- a/webextensions/api/clipboard.json +++ b/webextensions/api/clipboard.json @@ -2,6 +2,24 @@ "webextensions": { "api": { "clipboard": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/clipboard", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "57" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "setImageData": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/clipboard/setImageData", diff --git a/webextensions/api/commands.json b/webextensions/api/commands.json index 483981912c901b..d1591f16a08aa1 100644 --- a/webextensions/api/commands.json +++ b/webextensions/api/commands.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "commands": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/commands", + "support": { + "chrome": { + "version_added": true + }, + "edge": "mirror", + "firefox": { + "version_added": "48" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "Command": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/commands/Command", diff --git a/webextensions/api/contextualIdentities.json b/webextensions/api/contextualIdentities.json index aaa2847d5a071a..187e0dcc781b84 100644 --- a/webextensions/api/contextualIdentities.json +++ b/webextensions/api/contextualIdentities.json @@ -2,7 +2,51 @@ "webextensions": { "api": { "contextualIdentities": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contextualIdentities", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "53" + }, + "firefox_android": { + "version_added": false, + "impl_url": "https://bugzil.la/1638878", + "notes": "contextualIdentities is defined but not functional in Firefox for Android." + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "ContextualIdentity": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/contextualIdentities/ContextualIdentity", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "53" + }, + "firefox_android": { + "version_added": false, + "impl_url": "https://bugzil.la/1638878", + "notes": "contextualIdentities is defined but not functional in Firefox for Android." + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "cookieStoreId": { "__compat": { "support": { diff --git a/webextensions/api/declarativeNetRequest.json b/webextensions/api/declarativeNetRequest.json index fae083d2363bdd..1c3210bac8361d 100644 --- a/webextensions/api/declarativeNetRequest.json +++ b/webextensions/api/declarativeNetRequest.json @@ -2,6 +2,24 @@ "webextensions": { "api": { "declarativeNetRequest": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest", + "support": { + "chrome": { + "version_added": "84" + }, + "edge": "mirror", + "firefox": { + "version_added": "113" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": "15" + }, + "safari_ios": "mirror" + } + }, "DYNAMIC_RULESET_ID": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/DYNAMIC_RULESET_ID", diff --git a/webextensions/api/devtools.json b/webextensions/api/devtools.json index 471d2344f26489..c61c3e613176eb 100644 --- a/webextensions/api/devtools.json +++ b/webextensions/api/devtools.json @@ -2,7 +2,55 @@ "webextensions": { "api": { "devtools": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "54" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "16" + }, + "safari_ios": { + "version_added": false + } + } + }, "inspectedWindow": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools/inspectedWindow", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "54" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "16" + }, + "safari_ios": { + "version_added": false + } + } + }, "eval": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools/inspectedWindow/eval", @@ -156,6 +204,28 @@ } }, "network": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools/network", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "60" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "getHAR": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools/network/getHAR", @@ -240,6 +310,28 @@ } }, "panels": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "57" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "ElementsPanel": { "createSidebarPane": { "__compat": { diff --git a/webextensions/api/downloads.json b/webextensions/api/downloads.json index 15b6e9a6d88f61..9971a5740e029e 100644 --- a/webextensions/api/downloads.json +++ b/webextensions/api/downloads.json @@ -2,6 +2,29 @@ "webextensions": { "api": { "downloads": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/downloads", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "47" + }, + "firefox_android": { + "version_added": "48", + "version_removed": "79" + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "BooleanDelta": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/downloads/BooleanDelta", diff --git a/webextensions/api/events.json b/webextensions/api/events.json index 4ddc7b06dbb16a..e55638974a1b71 100644 --- a/webextensions/api/events.json +++ b/webextensions/api/events.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "events": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/events", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": true + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "Event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/events/Event", diff --git a/webextensions/api/extension.json b/webextensions/api/extension.json index 52e5551d12ac51..c965635d915bcd 100644 --- a/webextensions/api/extension.json +++ b/webextensions/api/extension.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "extension": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "ViewType": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/ViewType", diff --git a/webextensions/api/extensionTypes.json b/webextensions/api/extensionTypes.json index 023fea206a2bbf..be39bdf8b1a39e 100644 --- a/webextensions/api/extensionTypes.json +++ b/webextensions/api/extensionTypes.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "extensionTypes": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "ImageDetails": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails", diff --git a/webextensions/api/find.json b/webextensions/api/find.json index 324f66aee288d7..e8b4c5f779fdfc 100644 --- a/webextensions/api/find.json +++ b/webextensions/api/find.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "find": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/find", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "57" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "find": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/find/find", diff --git a/webextensions/api/history.json b/webextensions/api/history.json index c5abcbbfded6e7..3b8436498d2a48 100644 --- a/webextensions/api/history.json +++ b/webextensions/api/history.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "history": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/history", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "49" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "HistoryItem": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/history/HistoryItem", diff --git a/webextensions/api/i18n.json b/webextensions/api/i18n.json index 64b553ded00227..6e9962113af7f3 100644 --- a/webextensions/api/i18n.json +++ b/webextensions/api/i18n.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "i18n": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/i18n", + "support": { + "chrome": { + "version_added": "47" + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "LanguageCode": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/i18n/LanguageCode", diff --git a/webextensions/api/identity.json b/webextensions/api/identity.json index 3ec221699fb78e..f61c2cc667f69a 100644 --- a/webextensions/api/identity.json +++ b/webextensions/api/identity.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "identity": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/identity", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "53" + }, + "firefox_android": { + "version_added": false + }, + "opera": { + "version_added": "60" + }, + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "getRedirectURL": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/identity/getRedirectURL", diff --git a/webextensions/api/idle.json b/webextensions/api/idle.json index e2bead2ad63118..9ed7649f4f2198 100644 --- a/webextensions/api/idle.json +++ b/webextensions/api/idle.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "idle": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/idle", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "IdleState": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/idle/IdleState", diff --git a/webextensions/api/management.json b/webextensions/api/management.json index fe94767bd50438..55e7f4235c894a 100644 --- a/webextensions/api/management.json +++ b/webextensions/api/management.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "management": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/management", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "51" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "ExtensionInfo": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/management/ExtensionInfo", diff --git a/webextensions/api/menus.json b/webextensions/api/menus.json index c36976403263fe..fc34eb788175c3 100644 --- a/webextensions/api/menus.json +++ b/webextensions/api/menus.json @@ -2,6 +2,36 @@ "webextensions": { "api": { "menus": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/menus", + "support": { + "chrome": { + "alternative_name": "contextMenus", + "version_added": true + }, + "edge": "mirror", + "firefox": [ + { + "version_added": "55" + }, + { + "alternative_name": "contextMenus", + "version_added": "48" + } + ], + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "alternative_name": "contextMenus", + "version_added": "14" + }, + "safari_ios": { + "version_added": false + } + } + }, "ACTION_MENU_TOP_LEVEL_LIMIT": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/menus/ACTION_MENU_TOP_LEVEL_LIMIT", diff --git a/webextensions/api/notifications.json b/webextensions/api/notifications.json index 9787368108ed4f..dac68e61157f61 100644 --- a/webextensions/api/notifications.json +++ b/webextensions/api/notifications.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "notifications": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/notifications", + "support": { + "chrome": { + "version_added": "28" + }, + "edge": { + "version_added": "17" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": { + "version_added": "25" + }, + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "NotificationOptions": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions", diff --git a/webextensions/api/omnibox.json b/webextensions/api/omnibox.json index 93953de20f9d62..ccfc1ea78991fc 100644 --- a/webextensions/api/omnibox.json +++ b/webextensions/api/omnibox.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "omnibox": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/omnibox", + "support": { + "chrome": { + "version_added": "9" + }, + "edge": "mirror", + "firefox": { + "version_added": "52" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "OnInputEnteredDisposition": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/omnibox/OnInputEnteredDisposition", diff --git a/webextensions/api/pageAction.json b/webextensions/api/pageAction.json index c42cde49a5c8a5..e09c939a2314dc 100644 --- a/webextensions/api/pageAction.json +++ b/webextensions/api/pageAction.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "pageAction": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/pageAction", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "50" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "ImageDataType": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/pageAction/ImageDataType", diff --git a/webextensions/api/permissions.json b/webextensions/api/permissions.json index ece41981ab7fe6..97b20d9bd81a19 100644 --- a/webextensions/api/permissions.json +++ b/webextensions/api/permissions.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "permissions": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "55" + }, + "firefox_android": { + "version_added": "79" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "contains": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/permissions/contains", diff --git a/webextensions/api/pkcs11.json b/webextensions/api/pkcs11.json index d98cc6f958f6fa..00e6e827cf39f5 100644 --- a/webextensions/api/pkcs11.json +++ b/webextensions/api/pkcs11.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "pkcs11": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "58" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "getModuleSlots": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/pkcs11/getModuleSlots", diff --git a/webextensions/api/privacy.json b/webextensions/api/privacy.json index e96dbdd8dad269..199bdfe220976b 100644 --- a/webextensions/api/privacy.json +++ b/webextensions/api/privacy.json @@ -2,7 +2,43 @@ "webextensions": { "api": { "privacy": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/privacy", + "support": { + "chrome": { + "version_added": "18" + }, + "edge": "mirror", + "firefox": { + "version_added": "54" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "network": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/privacy/network", + "support": { + "chrome": { + "version_added": "18" + }, + "edge": "mirror", + "firefox": { + "version_added": "54" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "globalPrivacyControl": { "__compat": { "support": { @@ -107,6 +143,24 @@ } }, "services": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/privacy/services", + "support": { + "chrome": { + "version_added": "18" + }, + "edge": "mirror", + "firefox": { + "version_added": "56" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "autofillAddressEnabled": { "__compat": { "support": { @@ -319,6 +373,24 @@ } }, "websites": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/privacy/websites", + "support": { + "chrome": { + "version_added": "18" + }, + "edge": "mirror", + "firefox": { + "version_added": "54" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "cookieConfig": { "__compat": { "support": { diff --git a/webextensions/api/proxy.json b/webextensions/api/proxy.json index 2e22c37a11ee84..c51ccc49aba5f0 100644 --- a/webextensions/api/proxy.json +++ b/webextensions/api/proxy.json @@ -2,62 +2,23 @@ "webextensions": { "api": { "proxy": { - "onError": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy/onError", - "support": { - "chrome": { - "version_added": false - }, - "edge": "mirror", - "firefox": [ - { - "version_added": "60" - }, - { - "alternative_name": "onProxyError", - "version_added": "55", - "version_removed": "71" - } - ], - "firefox_android": [ - { - "version_added": "60" - }, - { - "alternative_name": "onProxyError", - "version_added": "55" - } - ], - "opera": "mirror", - "safari": { - "version_added": false - }, - "safari_ios": "mirror" - } - } - }, - "onRequest": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy/onRequest", - "support": { - "chrome": { - "version_added": false - }, - "edge": "mirror", - "firefox": { - "version_added": "60", - "notes": "Before version 78, the tabId and windowId filter properties are ignored." - }, - "firefox_android": { - "version_added": "60" - }, - "opera": "mirror", - "safari": { - "version_added": false - }, - "safari_ios": "mirror" - } + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy", + "support": { + "chrome": { + "version_added": false, + "notes": "The proxy namespace exists, but the behavior does not match the MDN documentation. See Chrome's proxy documentation instead." + }, + "edge": "mirror", + "firefox": { + "version_added": "55" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" } }, "ProxyInfo": { @@ -387,6 +348,64 @@ } } }, + "onError": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy/onError", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": [ + { + "version_added": "60" + }, + { + "alternative_name": "onProxyError", + "version_added": "55", + "version_removed": "71" + } + ], + "firefox_android": [ + { + "version_added": "60" + }, + { + "alternative_name": "onProxyError", + "version_added": "55" + } + ], + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + } + }, + "onRequest": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy/onRequest", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "60", + "notes": "Before version 78, the tabId and windowId filter properties are ignored." + }, + "firefox_android": { + "version_added": "60" + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + } + }, "settings": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/proxy/settings", diff --git a/webextensions/api/runtime.json b/webextensions/api/runtime.json index a95598f0389e38..0fcafc856b7c26 100644 --- a/webextensions/api/runtime.json +++ b/webextensions/api/runtime.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "runtime": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime", + "support": { + "chrome": { + "version_added": true + }, + "edge": "mirror", + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "MessageSender": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/MessageSender", diff --git a/webextensions/api/search.json b/webextensions/api/search.json index cffa8c8284822b..12a7a5b37be2f3 100644 --- a/webextensions/api/search.json +++ b/webextensions/api/search.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "search": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/search", + "support": { + "chrome": { + "version_added": "87" + }, + "edge": "mirror", + "firefox": { + "version_added": "63" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "get": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/search/get", diff --git a/webextensions/api/sessions.json b/webextensions/api/sessions.json index b6d2ce7560c42b..fa004c4d4ab368 100644 --- a/webextensions/api/sessions.json +++ b/webextensions/api/sessions.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "sessions": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/sessions", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "52" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "Filter": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/sessions/Filter", diff --git a/webextensions/api/sidebarAction.json b/webextensions/api/sidebarAction.json index aa4c5f484dea46..6eac68c2f5bdb4 100644 --- a/webextensions/api/sidebarAction.json +++ b/webextensions/api/sidebarAction.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "sidebarAction": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/sidebarAction", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "54" + }, + "firefox_android": { + "version_added": false + }, + "opera": { + "version_added": "30" + }, + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "ImageDataType": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/sidebarAction/ImageDataType", diff --git a/webextensions/api/storage.json b/webextensions/api/storage.json index 38d11444bf8c53..47ee1a79d664d5 100644 --- a/webextensions/api/storage.json +++ b/webextensions/api/storage.json @@ -2,6 +2,31 @@ "webextensions": { "api": { "storage": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/storage", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45", + "notes": "The storage API is supported in content scripts from version 48." + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "StorageArea": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea", diff --git a/webextensions/api/tabs.json b/webextensions/api/tabs.json index c82a2240bdb18f..0bf2dc8e3d4a33 100644 --- a/webextensions/api/tabs.json +++ b/webextensions/api/tabs.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "tabs": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs", + "support": { + "chrome": { + "version_added": "5" + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "54" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "MutedInfo": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/MutedInfo", diff --git a/webextensions/api/theme.json b/webextensions/api/theme.json index f9b30f797c95b9..c58edb6469d477 100644 --- a/webextensions/api/theme.json +++ b/webextensions/api/theme.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "theme": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/theme", + "support": { + "chrome": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": "55" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "Theme": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/theme/Theme", diff --git a/webextensions/api/topSites.json b/webextensions/api/topSites.json index c7c8d5cda3f6d4..d3093b386685b3 100644 --- a/webextensions/api/topSites.json +++ b/webextensions/api/topSites.json @@ -2,6 +2,29 @@ "webextensions": { "api": { "topSites": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/topSites", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "52" + }, + "firefox_android": { + "version_added": "52", + "version_removed": "79" + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "MostVisitedURL": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/topSites/MostVisitedURL", diff --git a/webextensions/api/types.json b/webextensions/api/types.json index 45c05176959c49..17fac1bb33ae32 100644 --- a/webextensions/api/types.json +++ b/webextensions/api/types.json @@ -2,6 +2,26 @@ "webextensions": { "api": { "types": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/types", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "79" + }, + "firefox": { + "version_added": "54" + }, + "firefox_android": "mirror", + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "BrowserSetting": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting", diff --git a/webextensions/api/webNavigation.json b/webextensions/api/webNavigation.json index 5895dc9d37a94b..1e758f99d87bdd 100644 --- a/webextensions/api/webNavigation.json +++ b/webextensions/api/webNavigation.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "webNavigation": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation", + "support": { + "chrome": { + "version_added": true + }, + "edge": "mirror", + "firefox": { + "version_added": "47" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "TransitionQualifier": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/TransitionQualifier", diff --git a/webextensions/api/webRequest.json b/webextensions/api/webRequest.json index 67dbef74bb10cc..d75df3b3f281fb 100644 --- a/webextensions/api/webRequest.json +++ b/webextensions/api/webRequest.json @@ -2,6 +2,28 @@ "webextensions": { "api": { "webRequest": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": "48" + }, + "opera": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror" + } + }, "BlockingResponse": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/BlockingResponse", diff --git a/webextensions/api/windows.json b/webextensions/api/windows.json index b32d323699f35e..9c0b26efb4e1de 100644 --- a/webextensions/api/windows.json +++ b/webextensions/api/windows.json @@ -2,6 +2,30 @@ "webextensions": { "api": { "windows": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + }, "CreateType": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/CreateType", @@ -32,58 +56,6 @@ } } }, - "WINDOW_ID_CURRENT": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/WINDOW_ID_CURRENT", - "support": { - "chrome": { - "version_added": "18" - }, - "edge": { - "version_added": "14" - }, - "firefox": { - "version_added": "45" - }, - "firefox_android": { - "version_added": false - }, - "opera": "mirror", - "safari": { - "version_added": "14" - }, - "safari_ios": { - "version_added": "15" - } - } - } - }, - "WINDOW_ID_NONE": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/WINDOW_ID_NONE", - "support": { - "chrome": { - "version_added": true - }, - "edge": { - "version_added": "14" - }, - "firefox": { - "version_added": "45" - }, - "firefox_android": { - "version_added": false - }, - "opera": "mirror", - "safari": { - "version_added": "14" - }, - "safari_ios": { - "version_added": "15" - } - } - } - }, "Window": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/Window", @@ -426,6 +398,58 @@ } } }, + "WINDOW_ID_CURRENT": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/WINDOW_ID_CURRENT", + "support": { + "chrome": { + "version_added": "18" + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + } + }, + "WINDOW_ID_NONE": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/WINDOW_ID_NONE", + "support": { + "chrome": { + "version_added": true + }, + "edge": { + "version_added": "14" + }, + "firefox": { + "version_added": "45" + }, + "firefox_android": { + "version_added": false + }, + "opera": "mirror", + "safari": { + "version_added": "14" + }, + "safari_ios": { + "version_added": "15" + } + } + } + }, "WindowState": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/windows/WindowState",