- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 08 Dec 2022 07:40:14 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 8 December 2022 15:40:26 UTC
@annevk approved this pull request.
> @@ -801,8 +801,14 @@ <h4 id="query-method">
</li>
</ol>
</li>
- <li>If |permissionDesc|'s {{PermissionDescriptor/name}} member is not supported, return
- [=a promise rejected with=] a {{TypeError}}.
+ <li>Let |rootDesc| be the object |permissionDesc| refers to, <a>converted to an IDL
+ value</a> of type {{PermissionDescriptor}}.
+ </li>
+ <li>If the conversion [=exception/throws=] an [=exception=], return <a>a promise
+ rejected with</a> that exception.
+ </li>
+ <li>If |rootDesc|'s {{PermissionDescriptor/name}} member is not supported, return [=a
Nit (although I guess this might apply throughout in which case it's probably best done separately):
```suggestion
<li>If |rootDesc|["{{PermissionDescriptor/name}}"] is not supported, return [=a
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/404#pullrequestreview-1210305051
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/permissions/pull/404/review/1210305051@github.com>
Received on Thursday, 8 December 2022 15:40:26 UTC