Re: [w3c/permissions] Integrate "request permission to use" with user activation (PR #401)

Expected use would be something like:

1. Let |promise:Promise| be a [=newly created promise=] in |this|'s [=relevant realm=].
1. Return |promise| and in |parallel|:
   1. [=Request permission=] to use "my-api" with |promise|.
   1. [=React=] to [=promise=]:
     * If it's the case that |promise| is fulfilled with value {{PermissionState/"granted"}}, then:
        1.  ... do granted stuff...
     * If it's the case that |promise| is fulfilled with value {{PermissionState/"denied"}}, then:
        1. ... do denied stuff...  


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

Message ID: <w3c/permissions/pull/401/c1327017591@github.com>

Received on Friday, 25 November 2022 04:47:04 UTC