Skip to content

Commit

Permalink
Chrome 4/5/7/10/12/44 added webextensions.api.extension support (#2…
Browse files Browse the repository at this point in the history
…4361)

Commits:

- Chrome 4:
  - `webextensions.api.extension` [^4a]
  - `webextensions.api.extension.getURL` [^4b]
  - `webextensions.api.extension.getBackgroundPage` [^4c]
  - `webextensions.api.extension.getViews` [^4c]
  - `webextensions.api.extension.lastError` [^4d]

- Chrome 5:
  - `webextensions.api.extension.getExtensionTabs` [^5c]
    - alt name: `getTabContentses` ([added in 4](chromium/chromium@7b291f9), [removed in 19](chromium/chromium@cc16c4e))
  - `webextensions.api.extension.getViews.windowId` [^5a]
  - `webextensions.api.extension.sendRequest` [^5b]
  - `webextensions.api.extension.onRequest` [^5b]
  - `webextensions.api.extension.onRequestExternal` [^5b]

- Chrome 7:
  - `webextensions.api.extension.inIncognitoContext` [^7]
    - alt name: `inIncognitoTab` ([added in 5](chromium/chromium@b2a74ca), [removed in 67](chromium/chromium@21b9dfa), only manifest v1)

- Chrome 10:
  - `webextensions.api.extension.setUpdateUrlData` [^10]

- Chrome 12:
  - `webextensions.api.extension.isAllowedFileSchemeAccess` [^12]
  - `webextensions.api.extension.isAllowedIncognitoAccess` [^12]

- Chrome 44:
  - `webextensions.api.extension.ViewType` [^44]

[^4a]: <https://source.chromium.org/chromium/chromium/src/+/704dd3637a9e986f4636302c3ce11700fbdba4ab>
[^4b]: <https://source.chromium.org/chromium/chromium/src/+/35fbcd2b93556bbdf876d2b0f06db98f4a7a10e1>
[^4c]: <https://source.chromium.org/chromium/chromium/src/+/7b291f9c1394495724ddd81306e982e840075c08>
[^4d]: <https://source.chromium.org/chromium/chromium/src/+/ce95d0324ab1b5c30ff21ff9ef21b073e0f9d030>
[^5a]: <https://source.chromium.org/chromium/chromium/src/+/37ad8892fe9576eef898295e50e7d42b5d7a3e27>
[^5b]: <https://source.chromium.org/chromium/chromium/src/+/5e34bc403af2328e80765406eace2f49f63e7d79>
[^5c]: <https://source.chromium.org/chromium/chromium/src/+/1d1dc679eacebb3ce4c2596d9cbf835c62abc183>
[^7]: <https://source.chromium.org/chromium/chromium/src/+/bc535ee5bb4eece29f5d88bcc688613b3b208b27>
[^10]: <https://source.chromium.org/chromium/chromium/src/+/a65882cfd89af9fc51fc34781fd9ebfc4978ea4c>
[^12]: <https://source.chromium.org/chromium/chromium/src/+/c7c401dd5f78685f7ce4a1e1ba0b38f64702c73e>
[^44]: <https://source.chromium.org/chromium/chromium/src/+/00f1fc22bfcc653b47d62778170af3eee9855720>

---------

Co-authored-by: Claas Augner <[email protected]>
  • Loading branch information
queengooborg and caugner authored Dec 3, 2024
1 parent 59a9a6a commit ba9261d
Showing 1 changed file with 34 additions and 19 deletions.
53 changes: 34 additions & 19 deletions webextensions/api/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "4"
},
"edge": {
"version_added": "14"
Expand All @@ -29,7 +29,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/ViewType",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "44"
},
"edge": "mirror",
"firefox": {
Expand Down Expand Up @@ -74,7 +74,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "4"
},
"edge": {
"version_added": "14"
Expand All @@ -99,9 +99,16 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/getExtensionTabs",
"support": {
"chrome": {
"version_added": "≤58"
},
"chrome": [
{
"version_added": "5"
},
{
"alternative_name": "getTabContentses",
"version_added": "4",
"version_removed": "19"
}
],
"edge": "mirror",
"firefox": {
"version_added": false
Expand All @@ -122,7 +129,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/getURL",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "4"
},
"edge": {
"version_added": "14"
Expand All @@ -148,7 +155,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/getViews",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "4"
},
"edge": {
"version_added": "14"
Expand All @@ -174,7 +181,7 @@
"__compat": {
"support": {
"chrome": {
"version_added": "≤93"
"version_added": "5"
},
"edge": {
"version_added": "14"
Expand Down Expand Up @@ -217,9 +224,17 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/inIncognitoContext",
"support": {
"chrome": {
"version_added": "≤58"
},
"chrome": [
{
"version_added": "7"
},
{
"alternative_name": "inIncognitoTab",
"version_added": "5",
"version_removed": "67",
"notes": "Only supported in manifest v1."
}
],
"edge": {
"version_added": "17"
},
Expand Down Expand Up @@ -258,7 +273,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/isAllowedFileSchemeAccess",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "12"
},
"edge": "mirror",
"firefox": {
Expand All @@ -284,7 +299,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/isAllowedIncognitoAccess",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "12"
},
"edge": {
"version_added": "17"
Expand Down Expand Up @@ -322,7 +337,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/lastError",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "4"
},
"edge": "mirror",
"firefox": {
Expand All @@ -344,7 +359,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/onRequest",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "5"
},
"edge": "mirror",
"firefox": {
Expand All @@ -364,7 +379,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/onRequestExternal",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "5"
},
"edge": "mirror",
"firefox": {
Expand All @@ -384,7 +399,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/sendRequest",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "5"
},
"edge": "mirror",
"firefox": {
Expand All @@ -406,7 +421,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/extension/setUpdateUrlData",
"support": {
"chrome": {
"version_added": "≤58"
"version_added": "9"
},
"edge": "mirror",
"firefox": {
Expand Down

0 comments on commit ba9261d

Please sign in to comment.