Re: [w3c/permissions] Add a hook for implicitly granting or denying before requesting permission to use (Issue #413)

https://privacycg.github.io/storage-access/#dom-document-requeststorageaccess mentions

> Note that when requesting permissions and deciding whether to show a prompt, user agents apply implementation-defined behavior to shape the end user experience. Particularly for storage-access, user agents are known to apply custom rules that will grant or deny a permission without showing a prompt.

But https://w3c.github.io/permissions/#dfn-request-permission-to-use doesn't actually give the UA an opportunity to apply that implementation-defined behavior: it says to ask for "express permission" no matter what.

I was thinking that it'd be easy for this to run in parallel, but actually, @johannhof's [initial use](https://wicg.github.io/first-party-sets/#storage-access-integration) reads some fields out of a relevant settings object, so we either need to queue back to a main thread or declare that some fields are constant and so safe to read from parallel contexts.

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

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

Received on Wednesday, 8 February 2023 23:41:13 UTC