--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/db9c4fb6-e9b7-4d5a-a9f0-99fda8d2a3c6n%40chromium.org.
Nice find, but I wonder if it's a bug, because the expected
behavior to me intuitively would be to grant
`chrome.storage.managed` and not other areas.
I found the source of the discrepancy. You are slightly wrong, you apparently do not need to have "storage" in the "permissions" section if you have a "storage" entry, as in:
..."default_locale": "en_US","storage": {"managed_schema": "managed_schema.json"}..."permissions": {[no "storage" entry necessary]...
Apparently Chrome treats that as an implicit request for the storage permission, because just by having that and no "storage" entry in the "permissions" section you can in fact use chrome.storage.local (in Chrome or Edge, but not in Opera).
In this case the reason is known - it's because Opera doesn't
implement any policies, including policy-managed storage. Dunno
why though.