In Bug 1354602 we are enabling containers when a user installs a container extension. We would like to make this work when the extension has an optional permission for containers also. This bug is about ensuring we tracking the right state for extensions and correctly track the permission changes.
When using a optional preference, we should only enable the permissions then. Should we auto deny permissions.request() if the user doesn't have containers enabled? Is there more work we should be doing to make this a cleaner experience? See Bug 1391184
Talked to Jonathan about this on IRC. Please reset needinfo if I've cleared this prematurely.
The discussed solution was to treat optional permissions the same, when the user accepts them it will flip the prefs. We also should update web extensions to inform the user when they are accepting the permission, this should make it clear that it controls containers.
Blocks bug 1191418
You need to log in before you can comment on or make changes to this bug.