- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 22 Jul 2016 00:56:15 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Message-ID: <whatwg/storage/pull/36/r71840330@github.com>
> - <li><p>Let <var>permission</var> be <a>permission</a> for <var>origin</var>. > - > - <li> > - <p>If <var>permission</var> is "<code title>prompt</code>", then determine through asking the > - user or using heuristics whether <var>origin</var> is allowed to use persistent storage. If that > - returns a positive answer, then set <var>permission</var> to "<code title>granted</code>". If > - that returns a negative answer, then set <var>permission</var> to "<code title>denied</code>". > - If that returns no answer, then do not alter <var>permission</var>. > - > - <p class="note">User agents are encouraged to not let the user answer this question twice for > - the same <a>origin</a> around the same time and this algorithm is not equipped to handle such a > - scenario. > - > - <li><p>Set <a>permission</a> for <var>origin</var> to <var>permission</var>. > + <li><p><a>Request permission to use</a> <code>{name: {{"persistent-storage"}}}</code>, > + and let |permission| be the result. I would prefer to lead with "Let _permission_ be ...". Also, is this descriptor syntax defined and explained somewhere? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/storage/pull/36/files/86a18c644f5ab19df446e9ce181e53f5ba1962b6#r71840330
Received on Friday, 22 July 2016 07:57:11 UTC