Re: [w3c/permissions] Define a PermissionStorage type for each permission to store data with. (#73)

> @@ -420,14 +419,22 @@
>            settings</var>' <a>top-level browsing context</a>'s <a>origin</a>
>          </li>
>        </ol>
> +      <dl class='idl' title='dictionary PermissionStorage'>
> +        <dt>
> +          required PermissionState state
> +        </dt>
> +      </dl>
> +      <p class="note">
> +        <a>PermissionStorage</a> instances are never exposed to Javascript.
> +      </p>
>        <p>
>          The steps to <dfn>retrieve a permission storage entry</dfn> of a

This is the sort of cleanup that I want to do, but in a separate patch, so this series doesn't grow any more. We currently have [retrieve a permission storage entry](https://rawgit.com/jyasskin/permissions/allow-choosers/index.html#dfn-retrieve-a-permission-storage-entry) that's only called from [retrieve the permission storage](https://rawgit.com/jyasskin/permissions/allow-choosers/index.html#dfn-retrieve-the-permission-storage), so maybe I can eliminate an unnecessary layer entirely, instead of just renaming it.

---
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/73/files/f8971ededce3ee7e02d371f66cf0a3e6e9a0d836..38c88ace58fbf4090cd998a379c2f17211ac41cd#r57672565

Received on Tuesday, 29 March 2016 05:11:01 UTC