fix: chrome.i18n unavailable in extension service workers (#45038)
3362491
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Maddock <samuelmaddock@electronjs.org>
This commit is contained in:
parent
0702ed0212
commit
0d0c2d66c1
1 changed files with 14 additions and 20 deletions
|
@ -12,20 +12,6 @@
|
||||||
"action.setBadgeTextColor": {
|
"action.setBadgeTextColor": {
|
||||||
"channel": "stable"
|
"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": {
|
"extension": {
|
||||||
"channel": "stable",
|
"channel": "stable",
|
||||||
"extension_types": ["extension"],
|
"extension_types": ["extension"],
|
||||||
|
@ -47,12 +33,6 @@
|
||||||
],
|
],
|
||||||
"max_manifest_version": 2
|
"max_manifest_version": 2
|
||||||
},
|
},
|
||||||
"i18n": {
|
|
||||||
"channel": "stable",
|
|
||||||
"extension_types": ["extension"],
|
|
||||||
"contexts": ["privileged_extension", "unprivileged_extension", "content_script"],
|
|
||||||
"disallow_for_service_workers": true
|
|
||||||
},
|
|
||||||
"mimeHandlerViewGuestInternal": {
|
"mimeHandlerViewGuestInternal": {
|
||||||
"internal": true,
|
"internal": true,
|
||||||
"contexts": "all",
|
"contexts": "all",
|
||||||
|
@ -81,5 +61,19 @@
|
||||||
"channel": "trunk",
|
"channel": "trunk",
|
||||||
"dependencies": ["permission:scripting"],
|
"dependencies": ["permission:scripting"],
|
||||||
"contexts": ["content_script"]
|
"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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue