- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 25 May 2016 21:26:35 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
Received on Thursday, 26 May 2016 04:27:10 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 Note: "show" implies visual prompt - some UAs may prompt through different modalities, so maybe use prompt as a verb: > "Prompt the user for permission x..." --- 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#r64690224
Received on Thursday, 26 May 2016 04:27:10 UTC