[w3c/permissions] Automation: "set permission" granularity (#348)

I looked at the spec in the light of WebKit implementation of a preliminary "set permission" automation API for getUserMedia.

In WebKit, getUserMedia prompt is based on the top level origin only as this is the only thing we can expect a user to reason about.
If a third-party context calls getUserMedia, the decision is still made based on the top level origin.

The current WebKit implementation of "set permission" is using a single value for all browsing contexts.
The current spec allows granularity at the context level and it is not clear to me what the use cases for such a granularity are.

I wonder whether a single value per top origin might be granular enough.
For getUserMedia at least, that would align somehow with how persistent permissions work in Safari.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/348
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/permissions/issues/348@github.com>

Received on Friday, 4 February 2022 03:56:28 UTC