- From: Alex Rudenko <notifications@github.com>
- Date: Thu, 16 Nov 2023 05:06:18 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 16 November 2023 13:06:23 UTC
@OrKoN commented on this pull request.
> + </li>
+ <li>
+ Let |state| be the value of the <code>state</code> field of |command
+ parameters|.
+ </li>
+ <li>
+ If |state| is an inappropriate [=permission state=] for any
+ implementation-defined reason, return [=error=] with [=error code=] [=invalid argument=].
+ </li>
+ <li>
+ Let |typedDescriptor| be the object |descriptor| refers to, [=converted to an IDL value=] (|descriptor|, |state|) of
+ {{PermissionSetParameters}} |permission name|'s [=powerful feature/permission descriptor type=].
+ If this conversion throws an exception, return [=error=] with [=error code=] [=invalid argument=].
+ </li>
+ <li>
+ Run the [=set a permission=] algorithm, passing |typedDescriptor| and |state|.
```suggestion
[=Set a permission=] with |typedDescriptor| and |state|.
```
?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/425#pullrequestreview-1734327147
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/permissions/pull/425/review/1734327147@github.com>
Received on Thursday, 16 November 2023 13:06:23 UTC