"side_panel":{} declaration should automatically grant sidePanel permission #631
Labels
needs-triage: chrome
Chrome needs to assess this issue for the first time
supportive: safari
Supportive from Safari
As observed in Chrome's implementation of ManifestV3, we have to add "sidePanel" to "permissions" even if we already have
"side_panel": {}
in manifest.json in order to usechrome.sidePanel
API in the extension scripts.This is not consistent with the conceptually identical/similar
chrome.browserAction
andchrome.action
, which are automatically allowed when manifest.json has the corresponding section e.g."browser_action":{}
or"action":{}
.Separation is only necessary when there are two permissions e.g. "declarative_net_request":{...} has "declarativeNetRequest" and "declarativeNetRequestWithHostAccess".
Additionally, to help new developers who haven't looked at least at the beginning of the documentation page where the requirements are described and examples are demonstrated, the error message should be clarified for all such API (action, sidePanel, commands):
The text was updated successfully, but these errors were encountered: