- From: Jeffrey Yasskin <notifications@github.com>
- Date: Thu, 26 May 2016 15:56:24 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
- Message-ID: <w3c/permissions/pull/97/r64835039@github.com>
> - Takes the previously-stored instance of the <a>permission storage > - type</a>, an instance of the <a>permission descriptor type</a>, > - and a newly-created instance of the <a>permission result type</a>. > - Shows the user any necessary prompt to try to increase permissions, > - and updates the instances of the <a>permission storage type</a> and > - <a>permission result type</a> to match. May return a {{Promise}} > - if the request can fail exceptionally. (Merely being denied > - permission is not exceptional.) Used by {{Permissions}}' > - {{Permissions/request()}} method, which handles > - reading and writing the <a>permission store</a>. If unspecified, this > - defaults to the <a>boolean permission request algorithm</a>. > + Takes an instance of the <a>permission descriptor type</a> and a > + newly-created instance of the <a>permission result type</a>. Uses the > + algorithms in <a href="#requesting-more-permission"></a> to show the user > + any necessary prompt to try to increase permissions, and updates the > + instance <a>permission result type</a> to match. May return a {{Promise}} This algorithm is entirely internal, so what it returns isn't exposed to javascript. That said, I can probably have it possibly-throw exceptions instead of possibly-returning Promises. --- 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#r64835039
Received on Thursday, 26 May 2016 22:56:52 UTC