Browser extension: remove "cookies" permissions.
Created by: lguychard
Rel. https://sourcegraph.slack.com/archives/CMT39K56Z/p1578154067022400
All other permissions in the manifest are needed:
-
storage
to use sync and managed storage -
activeTab
andcontextMenus
through thewebext-domain-permission-toggle
dependency, and our own feature to allow the user to request permissions for the active tab from the extension's popover.
The cookies
API, meanwhile, is not used in our codebase (it's only declared in the vendored webextension-polyfill
types).