Open Bug 1641584 Opened 5 years ago Updated 7 months ago

Enable permission isolation by user context on Nightly

Categories

(Core :: Permission Manager, task, P3)

task

Tracking

()

People

(Reporter: pbz, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

We should isolate permissions by user context by default on Nightly.

Bug 1422056 added a pref for this which is default off at the moment:

permissions.isolateBy.userContext

Before enabling we should ensure we don't regress permission consumers, e.g. Bug 1597751.

Depends on: 1589162

Hey Paul, I'm working on the API for WebDriver BiDi to set permissions (see bug1875065 for more details), and we expect that permissions are isolated in the user context to which they are set, so for this to work we would need to enable this preference. We can do it just for the protocol. Would it be okay with you? Would you have any concerns with it?

Flags: needinfo?(pbz)

Off-hand I don't have any concerns, the mechanism that separates permissions by user context should still work. We mainly haven't enabled this for Firefox users yet since we lack the proper management UI for permissions that would allow users to manage them per container. In automation this would most likely not be a concern?
We have some automated test coverage for the permission separation, but it's not great. So I'd recommend to do at least some smoke testing to ensure nothing breaks.

Flags: needinfo?(pbz)
You need to log in before you can comment on or make changes to this bug.