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

> @@ -514,43 +523,66 @@
>          </dt>
>        </dl>
>        <p>
> -        A <code>PermissionStatus</code> instance has an associated
> -        <var>permission</var> that is a <a>PermissionDescriptor</a>.
> +        <code>PermissionStatus</code> instances are created with the following

`PermissionStatus`es are going to have two internal slots once we get to #66, in case that makes it look a little better: https://rawgit.com/jyasskin/permissions/allow-choosers/index.html#idl-def-PermissionStatus.

I'm finding in [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/#bluetoothservicedatamap) that having a bunch of internal slots makes it easier to understand the purpose of each bit of associated data, and that `foo@[[bar]]` is simpler to type and link than "the bar associated with `foo`". The `PermissionStatus` slots are simple enough that I can eliminate them without needed a lot of extra wording, but I do somewhat prefer them.

@annevk and @domenic may also have opinions about which to use.

---
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#r57672468

Received on Tuesday, 29 March 2016 05:08:57 UTC