- From: Jeffrey Yasskin <notifications@github.com>
- Date: Thu, 26 May 2016 16:18:43 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
Received on Thursday, 26 May 2016 23:19:21 UTC
> +
> + <div algorithm="request-permission-to-use">
> + <p>
> + To <dfn export>request permission to use</dfn> a |descriptor|, the UA
> + must perform the following steps. Note that these steps may wait for
> + user input, so they should not be used from other algorithms running on
> + the main thread. This algorithm returns either {{"granted"}} or
> + {{"denied"}}.
> + </p>
> + <ol>
> + <li>
> + If |descriptor|'s <a>permission state</a> is not {{"prompt"}}, return
> + that value and abort these steps.
> + </li>
> + <li>
> + Show the user a prompt asking their permission for the calling
Done.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/97/files/247f065b3c9d8d80a94fefbcee1b83488700000c#r64837216
Received on Thursday, 26 May 2016 23:19:21 UTC