- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 25 May 2016 21:55:50 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
- Message-ID: <w3c/permissions/pull/97/r64691558@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}} Wait! it would be kinda sad if some callers returned a Promise an others don't. This appears to be what is implied here, or am I misreading this? --- 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#r64691558
Received on Thursday, 26 May 2016 04:56:18 UTC