Skip to content

Add webextensions.api.tabGroups API #26724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2025
Merged

Conversation

rebloor
Copy link
Contributor

@rebloor rebloor commented May 6, 2025

Summary

Adds data for the webextensions.api.tabGroups API and updates the permissions and optional_permissions key data for the introduction of the tabGroups permission.

Related issues

@rebloor rebloor requested review from dotproto and Rob--W May 6, 2025 23:56
@rebloor rebloor self-assigned this May 6, 2025
@rebloor rebloor added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label May 6, 2025
@github-actions github-actions bot added the size:l [PR only] 101-1000 LoC changed label May 6, 2025
Copy link
Contributor

github-actions bot commented May 6, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Copy link
Member

@Rob--W Rob--W left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved provided that the following changes are made.

To make it easier to see the result, I used the preview tool I created before, at https://jsbin.com/subipeyibo/edit?html,output
with the following URL as input: https://raw.githubusercontent.com/rebloor/browser-compat-data/Add-tabGroups-API/webextensions/api/tabGroups.json

Comment on lines 230 to 250
},
"groupId": {
"__compat": {
"support": {
"chrome": {
"version_added": "89"
},
"edge": "mirror",
"firefox": {
"version_added": "139"
},
"firefox_android": {
"version_added": false
},
"opera": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror"
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webextensions.api.tabGroups.get.groupId does not need to be documented separately, as it is a core part of the API definition.

Suggested change
},
"groupId": {
"__compat": {
"support": {
"chrome": {
"version_added": "89"
},
"edge": "mirror",
"firefox": {
"version_added": "139"
},
"firefox_android": {
"version_added": false
},
"opera": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror"
}
}

Co-authored-by: Rob Wu <rob@robwu.nl>
@rebloor rebloor merged commit 2d07fa7 into mdn:main May 7, 2025
6 checks passed
@rebloor rebloor deleted the Add-tabGroups-API branch May 8, 2025 00:00
@mdn-bot mdn-bot mentioned this pull request May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions size:l [PR only] 101-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants