Skip to content

Commit

Permalink
fix: chrome.i18n unavailable in extension service workers (electron#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock authored Dec 16, 2024
1 parent 69479b2 commit 3aa0014
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions shell/common/extensions/api/_api_features.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@
"action.setBadgeTextColor": {
"channel": "stable"
},
"tabs": {
"channel": "stable",
"extension_types": ["extension"],
"contexts": ["privileged_extension"]
},
"tabs.executeScript": {
"max_manifest_version": 2
},
"tabs.insertCSS": {
"max_manifest_version": 2
},
"tabs.removeCSS": {
"max_manifest_version": 2
},
"extension": {
"channel": "stable",
"extension_types": ["extension"],
Expand All @@ -59,12 +45,6 @@
],
"max_manifest_version": 2
},
"i18n": {
"channel": "stable",
"extension_types": ["extension"],
"contexts": ["privileged_extension", "unprivileged_extension", "content_script"],
"disallow_for_service_workers": true
},
"mimeHandlerViewGuestInternal": {
"internal": true,
"contexts": "all",
Expand Down Expand Up @@ -93,5 +73,19 @@
"channel": "trunk",
"dependencies": ["permission:scripting"],
"contexts": ["content_script"]
},
"tabs": {
"channel": "stable",
"extension_types": ["extension"],
"contexts": ["privileged_extension"]
},
"tabs.executeScript": {
"max_manifest_version": 2
},
"tabs.insertCSS": {
"max_manifest_version": 2
},
"tabs.removeCSS": {
"max_manifest_version": 2
}
}

0 comments on commit 3aa0014

Please sign in to comment.