- From: Jeffrey Yasskin <notifications@github.com>
- Date: Thu, 04 Aug 2016 13:41:23 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Message-ID: <whatwg/storage/pull/36/r73598673@github.com>
> > <p class="note">When granted to an <a>origin</a>, the persistence permission can be used to protect > storage from the user agent's clearing policies. The user agent cannot clear storage marked as > persistent without involvement from the <a>origin</a> or user. This makes it particularly useful for > resources the user needs to have available while offline or resources the user creates locally. > > -<p class="XXX">We will eventually integrate with the Permissions API, with the identifier > -"<dfn export for=PermissionName type=enum-value><code>persistent-storage</code></dfn>", but since > -that specification is not in great shape at the moment that has not happened yet. > +The <dfn for="PermissionName" enum-value>"<code>persistent-storage</code>"</dfn> <a>powerful feature</a>'s > +permission-related flags, algorithms, and types are defaulted, except for: > + > +<dl> > + <dt><a>permission state</a></dt> > + <dd><code>{name: {{"persistent-storage"}}}</code>'s <a>permission state</a> must have the same > + value for all <a>environment settings objects</a> with a given <a>origin</a>.</dd> This was the question we decided in w3c/permissions#95, w3c/permissions#96, and w3c/permissions#97, and the discussion at https://www.w3.org/2016/06/08-webappsec-minutes.html: do we define a permission store with particular keys and values, or do we leave permission results up to the browser, with maybe some extra constraints. @benfredwells and @martinthomson liked the non-store option, so that's what we went with. Sorry you weren't in that meeting. :( --- 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/52d4bac9ccc42d0307989cf262fbbb7094403340#r73598673
Received on Thursday, 4 August 2016 20:42:00 UTC