The --disable-extensions-except Chrome flag is documented as following:
// Disable extensions except those specified in a comma-separated list.
However, this flag actually not only disables unwanted extensions, but also force-installs the extensions specified in it, which IMO is rather unexpected.
Additionally, the installation happens unconditionally, even into the profiles which generally have the extensions_enabled_ flag as false (like the Chrome OS sign-in profile).
This is due to the logic in ExtensionService::Init:
https://cs.chromium.org/chromium/src/chrome/browser/extensions/extension_service.cc?l=459
Devlin, do you think it's reasonable to fix this place by making this flag as only a way to _disable_ the extensions - just exactly as its name says?
Feel free to assign this bug to me then, I can do this once I have spare cycles.
Comment 1 by rdevlin....@chromium.org
, Apr 7 2017Owner: emaxx@chromium.org