New issue
Advanced search Search tips

Issue 909093 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Extensions: Throw a load error (or warning) when a permission that can't be optional is specified in optional permissions

Project Member Reported by rdevlin....@chromium.org, Nov 28

Issue description

Certain permissions cannot be declared as optional (see usages of kFlagCannotBeOptional [1]).  While we don't let the extension request these permissions, it'd be better to throw a load error (or at least a warning) when loading the extension.

[1] https://chromium.googlesource.com/chromium/src/+/08d77f2bf2c8fcc644508037e7df7fb4619b1e1d/extensions/common/permissions/api_permission.h#369
 

Sign in to add a comment